-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: It is now possible to run an analysis by simply providing datac…
…lasses or ini files. (#461) * feat: It is now possible to run an analysis by simply providing either the ini files or their config data representations; Added tests * test: Quick clean up of test code * test: Improved test fixtures for the handler * test: Removed double yield as the tear-down does not know where to continue from * test: Streamlined some tests * test: Added conftests to `tests/network/graph_files` to reduce code duplication on fixture * test: Added extended validation of run results * chore: Small corrections after merge from `master` * test: Corrected wrong import after merge * docs: Removed output from example * docs: Updated tech meeting with new way of running analyses * docs: Fixed tech meeting example * test: Processed review remarks * chore: It is now possible to call the new static methods with `None` as arguments
- Loading branch information
Showing
17 changed files
with
358 additions
and
164 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
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
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
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
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,13 @@ | ||
from pathlib import Path | ||
from typing import Iterator | ||
|
||
import pytest | ||
|
||
from tests import acceptance_test_data | ||
|
||
|
||
@pytest.fixture(name="valid_analysis_ini") | ||
def _get_valid_analysis_ini_fixture() -> Iterator[Path]: | ||
_ini_file = acceptance_test_data.joinpath("analyses.ini") | ||
assert _ini_file.exists() | ||
yield _ini_file |
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,11 @@ | ||
from pathlib import Path | ||
from typing import Iterator | ||
|
||
import pytest | ||
|
||
from tests import test_data | ||
|
||
|
||
@pytest.fixture(name="graph_folder") | ||
def _get_graph_test_folder_fixture() -> Iterator[Path]: | ||
yield test_data.joinpath("simple_inputs", "static", "output_graph") |
Oops, something went wrong.