Skip to content

Commit

Permalink
fix(test): Update Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ed-p-may committed Oct 18, 2022
1 parent b0e6e37 commit b6bf2dc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions tests/_reference_xml/Default_Model_Single_Zone.xml
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@
</Zones>
</Building>
<ClimateLocation>
<Selection>1</Selection>
<Selection>2</Selection>
<Latitude_DB unit="°">40.6</Latitude_DB>
<Longitude_DB unit="°">-73.8</Longitude_DB>
<HeightNN_DB unit="m">None</HeightNN_DB>
Expand All @@ -278,7 +278,7 @@
<CO2concenration unit="mg/m³">350</CO2concenration>
<Unit_CO2concentration choice="ppmv">48</Unit_CO2concentration>
<PH_ClimateLocation>
<Selection>1</Selection>
<Selection>6</Selection>
<DailyTemperatureSwingSummer>8.0</DailyTemperatureSwingSummer>
<AverageWindSpeed>4.0</AverageWindSpeed>
<Latitude>40.6</Latitude>
Expand Down
4 changes: 2 additions & 2 deletions tests/_reference_xml/Multi_Room_Complete.xml
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@
</Zones>
</Building>
<ClimateLocation>
<Selection>1</Selection>
<Selection>2</Selection>
<Latitude_DB unit="°">40.6</Latitude_DB>
<Longitude_DB unit="°">-73.8</Longitude_DB>
<HeightNN_DB unit="m">0.0</HeightNN_DB>
Expand All @@ -811,7 +811,7 @@
<CO2concenration unit="mg/m³">350</CO2concenration>
<Unit_CO2concentration choice="ppmv">48</Unit_CO2concentration>
<PH_ClimateLocation>
<Selection>1</Selection>
<Selection>6</Selection>
<DailyTemperatureSwingSummer>8.0</DailyTemperatureSwingSummer>
<AverageWindSpeed>4.0</AverageWindSpeed>
<Latitude>40.6</Latitude>
Expand Down
4 changes: 2 additions & 2 deletions tests/test_to_WUFI_xml/test_climate/test_PhxLocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def test_default_PhxLocation(reset_class_counters):
result = generate_WUFI_XML_from_object(l1, _header="")

assert xml_string_to_list(result) == [
'<Selection>1</Selection>',
'<Selection>2</Selection>',
'<Latitude_DB unit="°">40.6</Latitude_DB>',
'<Longitude_DB unit="°">-73.8</Longitude_DB>',
'<HeightNN_DB unit="m">None</HeightNN_DB>',
Expand All @@ -22,7 +22,7 @@ def test_default_PhxLocation(reset_class_counters):
'<CO2concenration unit="mg/m³">350</CO2concenration>',
'<Unit_CO2concentration choice="ppmv">48</Unit_CO2concentration>',
'<PH_ClimateLocation>',
'<Selection>1</Selection>',
'<Selection>6</Selection>',
'<DailyTemperatureSwingSummer>8.0</DailyTemperatureSwingSummer>',
'<AverageWindSpeed>4.0</AverageWindSpeed>',
'<Latitude>40.6</Latitude>',
Expand Down
4 changes: 2 additions & 2 deletions tests/test_to_WUFI_xml/test_project/test_PhxVariant.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_default_PhxProject(reset_class_counters):
'<Zones count="0"/>',
'</Building>',
'<ClimateLocation>',
'<Selection>1</Selection>',
'<Selection>2</Selection>',
'<Latitude_DB unit="°">40.6</Latitude_DB>',
'<Longitude_DB unit="°">-73.8</Longitude_DB>',
'<HeightNN_DB unit="m">None</HeightNN_DB>',
Expand All @@ -33,7 +33,7 @@ def test_default_PhxProject(reset_class_counters):
'<CO2concenration unit="mg/m³">350</CO2concenration>',
'<Unit_CO2concentration choice="ppmv">48</Unit_CO2concentration>',
'<PH_ClimateLocation>',
'<Selection>1</Selection>',
'<Selection>6</Selection>',
'<DailyTemperatureSwingSummer>8.0</DailyTemperatureSwingSummer>',
'<AverageWindSpeed>4.0</AverageWindSpeed>',
'<Latitude>40.6</Latitude>',
Expand Down

0 comments on commit b6bf2dc

Please sign in to comment.