Skip to content

Commit 7f18808

Browse files
committed
Add a dataset for unit testing
1 parent d443991 commit 7f18808

File tree

12 files changed

+52599
-1
lines changed

12 files changed

+52599
-1
lines changed

src/test_pownet/test_core/test_builder.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,12 @@ class TestModelBuilder(unittest.TestCase):
1212

1313
def setUp(self) -> None:
1414
# Load the test data
15+
test_model_library_path = os.path.abspath(
16+
os.path.join(os.path.dirname(__file__), "..", "test_model_library")
17+
)
18+
1519
self.inputs = SystemInput(
16-
input_folder=get_model_dir(),
20+
input_folder=test_model_library_path,
1721
model_name="dummy",
1822
year=2016,
1923
sim_horizon=24,

0 commit comments

Comments
 (0)