From ee420fd26506d04087a5967d9ff83b5dd7db1f61 Mon Sep 17 00:00:00 2001 From: wouterpeere Date: Fri, 16 Feb 2024 17:57:17 +0100 Subject: [PATCH] Bugfix test --- GHEtool/test/unit-tests/test_main_class.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GHEtool/test/unit-tests/test_main_class.py b/GHEtool/test/unit-tests/test_main_class.py index 7f548f3c..f2557849 100644 --- a/GHEtool/test/unit-tests/test_main_class.py +++ b/GHEtool/test/unit-tests/test_main_class.py @@ -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 @@ -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