Skip to content

Commit 28ef820

Browse files
committed
Fix CI tests
1 parent 59340a5 commit 28ef820

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/test_pownet/test_core/test_builder.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
from pownet.builder.energy_storage import EnergyStorageUnitBuilder
1111
from pownet.builder.system import SystemBuilder
1212

13-
from pownet.folder_utils import get_test_model_dir
14-
1513

1614
class TestModelBuilder(unittest.TestCase):
1715
"""Unless otherwise stated, use "dummy_trade" over 24-hr as the test case."""

src/test_pownet/test_core/test_data_processor.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@
66
DataProcessor,
77
)
88

9-
from pownet.folder_utils import get_pownet_dir
10-
119

1210
class TestDataProcessor(unittest.TestCase):
1311
def test_initialization(self):
1412
# Arrange
15-
test_model_library_path = os.path.abspath(
16-
os.path.join(get_pownet_dir(), "model_library")
13+
test_model_library_path = os.path.join(
14+
os.path.dirname(__file__), "..", "test_model_library"
1715
)
1816
model_name = "dummy"
1917
year = 2024

0 commit comments

Comments
 (0)