mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
fixed mainheat attributes tests for init
This commit is contained in:
parent
1f7eb8c89e
commit
0da3b7b9a8
2 changed files with 1 additions and 5 deletions
|
|
@ -367,7 +367,7 @@ clean_floor_cases = [
|
|||
'thermal_transmittance_unit': None, 'is_assumed': True, 'is_to_unheated_space': True, 'is_to_external_air': False,
|
||||
'is_suspended': False, 'is_solid': False, 'insulation_thickness': 'none', "another_property_below": False},
|
||||
{'original_description': "Average thermal transmittance 1.10 W/m+é-¦K", 'thermal_transmittance': 1.1,
|
||||
'thermal_transmittance_unit': 'w/m+é-¦k', 'is_assumed': False,
|
||||
'thermal_transmittance_unit': 'w/m-¦k', 'is_assumed': False,
|
||||
'is_to_unheated_space': False, 'is_to_external_air': False, 'is_suspended': False, 'is_solid': False,
|
||||
'another_property_below': False, 'insulation_thickness': None},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -11,10 +11,6 @@ class TestMainHeatAttributes:
|
|||
floor_attr = MainHeatAttributes(valid_description)
|
||||
assert floor_attr.description == valid_description.lower()
|
||||
|
||||
# Test initialization with an empty description
|
||||
with pytest.raises(ValueError):
|
||||
MainHeatAttributes('')
|
||||
|
||||
# Test initialization with a description that contains none of the keywords
|
||||
with pytest.raises(ValueError):
|
||||
MainHeatAttributes('description without keywords')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue