mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
fixed property unit tests
This commit is contained in:
parent
314ad8719d
commit
ccc0d8603b
1 changed files with 5 additions and 2 deletions
|
|
@ -227,7 +227,8 @@ class TestProperty:
|
||||||
"mainheat-description": [{"original_description": "Main Heating Description"}],
|
"mainheat-description": [{"original_description": "Main Heating Description"}],
|
||||||
"hotwater-description": [{"original_description": "Hot Water Description"}],
|
"hotwater-description": [{"original_description": "Hot Water Description"}],
|
||||||
"lighting-description": [{"original_description": "Good Lighting Efficiency"}],
|
"lighting-description": [{"original_description": "Good Lighting Efficiency"}],
|
||||||
"floor-description": [{"original_description": "Floor Description", "is_suspended": True}]
|
"floor-description": [
|
||||||
|
{"original_description": "Floor Description", "is_suspended": True, "another_property_below": False}]
|
||||||
}
|
}
|
||||||
return mock_cleaner
|
return mock_cleaner
|
||||||
|
|
||||||
|
|
@ -317,7 +318,9 @@ class TestProperty:
|
||||||
}
|
}
|
||||||
|
|
||||||
property_instance.floor = {
|
property_instance.floor = {
|
||||||
"is_suspended": False
|
"is_suspended": False,
|
||||||
|
"another_property_below": False,
|
||||||
|
"is_solid": True
|
||||||
}
|
}
|
||||||
|
|
||||||
# Assert backup cleaning has been applied
|
# Assert backup cleaning has been applied
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue