-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move drogon case to libecalc and include it in test framework
- Loading branch information
Showing
8 changed files
with
41 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
from .advanced import * # noqa: F403 | ||
from .drogon import * # noqa: F403 | ||
from .simple import * # noqa: F403 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
from pathlib import Path | ||
|
||
import pytest | ||
|
||
from libecalc.fixtures import YamlCase | ||
from libecalc.fixtures.case_utils import YamlCaseLoader | ||
|
||
""" | ||
Test project for Drogon (synthetic test case used for various purposes outside this project) | ||
The purpose of this fixture is to showcase the synthetic model Drogon in an eCalc Model for use with | ||
examples and testing. | ||
""" | ||
|
||
|
||
@pytest.fixture | ||
def drogon_yaml() -> YamlCase: | ||
return YamlCaseLoader.load( | ||
case_path=Path(__file__).parent, | ||
main_file="model.yaml", | ||
resource_names=[ | ||
"drogon_mean.csv", | ||
"genset.csv", | ||
"wi_200bar_ssp.csv", | ||
], | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters