Skip to content

Commit

Permalink
Bugfix test
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterpeere committed Feb 16, 2024
1 parent fe6548a commit ee420fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GHEtool/test/unit-tests/test_main_class.py
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ def test_optimise_borefield_small_power(monkeypatch):
load = HourlyGeothermalLoad()
load.load_hourly_profile(FOLDER.joinpath("Examples/hourly_profile.csv"))
load.simulation_period = 40
borefield.optimise_load_profile_power(load, 150, print_results=True)
borefield.optimise_load_profile_power(load, 150)
assert borefield.load.simulation_period == 40
assert borefield._building_load.simulation_period == 40
assert borefield._secundary_borefield_load.simulation_period == 40
Expand All @@ -832,7 +832,7 @@ def test_optimise_borefield_small_energy(monkeypatch):
load = HourlyGeothermalLoad()
load.load_hourly_profile(FOLDER.joinpath("Examples/hourly_profile.csv"))
load.simulation_period = 40
borefield.optimise_load_profile_energy(load, 150, print_results=True)
borefield.optimise_load_profile_energy(load, 150)
assert borefield.load.simulation_period == 40
assert borefield._building_load.simulation_period == 40
assert borefield._secundary_borefield_load.simulation_period == 40
Expand Down

0 comments on commit ee420fd

Please sign in to comment.