-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f5425fe
commit af66281
Showing
4 changed files
with
5 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
from wcflow import wc | ||
from wcflow import core | ||
from wcflow.workgraph import AiidaWorkGraph | ||
from aiida.manage.configuration import load_profile | ||
import pytest | ||
|
||
@pytest.fixture | ||
def small_config_path_str(): | ||
return "tests/files/configs/test_config_small.yaml" | ||
|
||
def test_small_wc_workflow(small_config_path_str): | ||
load_profile() | ||
wc_workflow = wc.Workflow.from_yaml(small_config_path_str) | ||
core_workflow: core.Workflow = wc_workflow.to_core_workflow() | ||
|
||
from aiida import load_profile | ||
load_profile() | ||
aiida_workgraph = AiidaWorkGraph(core_workflow) | ||
result = aiida_workgraph.run() | ||
assert result.get('execution_count') == 0 |