From 471788f11d783a25738e68ed822f2dd7d66cf233 Mon Sep 17 00:00:00 2001 From: Andreas Date: Sat, 21 Dec 2024 13:30:51 +0100 Subject: [PATCH] Path --- tests/test_class_ems.py | 7 ++++++- tests/test_class_ems_2.py | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/tests/test_class_ems.py b/tests/test_class_ems.py index 6a7c8d6..fc28d3c 100644 --- a/tests/test_class_ems.py +++ b/tests/test_class_ems.py @@ -33,7 +33,12 @@ def create_ems_instance(tmp_config: AppConfig) -> EnergieManagementSystem: # 1h Load to Sub 1h Load Distribution -> SelfConsumptionRate sc = self_consumption_probability_interpolator( - Path(__file__).parent.resolve() / ".." / "data" / "regular_grid_interpolator.pkl" + Path(__file__).parent.resolve() + / ".." + / "src" + / "akkudoktoreos" + / "data" + / "regular_grid_interpolator.pkl" ) akku.reset() diff --git a/tests/test_class_ems_2.py b/tests/test_class_ems_2.py index 9a05aa4..cebb622 100644 --- a/tests/test_class_ems_2.py +++ b/tests/test_class_ems_2.py @@ -32,7 +32,12 @@ def create_ems_instance(tmp_config: AppConfig) -> EnergieManagementSystem: # 1h Load to Sub 1h Load Distribution -> SelfConsumptionRate sc = self_consumption_probability_interpolator( - Path(__file__).parent.resolve() / ".." / "data" / "regular_grid_interpolator.pkl" + Path(__file__).parent.resolve() + / ".." + / "src" + / "akkudoktoreos" + / "data" + / "regular_grid_interpolator.pkl" ) akku.reset()