Skip to content

Commit

Permalink
Add a dataset for unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
phumthep committed Oct 25, 2024
1 parent d443991 commit 7f18808
Show file tree
Hide file tree
Showing 12 changed files with 52,599 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/test_pownet/test_core/test_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@ class TestModelBuilder(unittest.TestCase):

def setUp(self) -> None:
# Load the test data
test_model_library_path = os.path.abspath(
os.path.join(os.path.dirname(__file__), "..", "test_model_library")
)

self.inputs = SystemInput(
input_folder=get_model_dir(),
input_folder=test_model_library_path,
model_name="dummy",
year=2016,
sim_horizon=24,
Expand Down
Loading

0 comments on commit 7f18808

Please sign in to comment.