Skip to content

Commit eef1fcb

Browse files
Undo the test.
1 parent 113600c commit eef1fcb

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

tests/aiida_ensemble/test_aiida_ensemble.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,19 @@ def test_get_running_workchains(generate_workchain_pw_node):
6767
assert success == [False, True, False]
6868

6969

70-
# @pytest.mark.usefixtures('aiida_profile')
71-
# def test_submit_and_get_workchains(fixture_code):
72-
# """Test the :func:`sscha.aiida_ensemble.submit_and_get_workchains` method."""
73-
# from cellconstructor.Structure import Structure
74-
# from sscha.aiida_ensemble import submit_and_get_workchains
75-
#
76-
# pw_code = fixture_code('quantumespresso.pw')
77-
# structures = [Structure(nat=1) for _ in range(5)]
78-
#
79-
# workchains = submit_and_get_workchains(
80-
# structures=structures,
81-
# pw_code=pw_code,
82-
# temperature=300,
83-
# )
84-
#
85-
# assert len(workchains) == 5
70+
@pytest.mark.usefixtures('aiida_profile')
71+
def test_submit_and_get_workchains(fixture_code):
72+
"""Test the :func:`sscha.aiida_ensemble.submit_and_get_workchains` method."""
73+
from cellconstructor.Structure import Structure
74+
from sscha.aiida_ensemble import submit_and_get_workchains
75+
76+
pw_code = fixture_code('quantumespresso.pw')
77+
structures = [Structure(nat=1) for _ in range(5)]
78+
79+
workchains = submit_and_get_workchains(
80+
structures=structures,
81+
pw_code=pw_code,
82+
temperature=300,
83+
)
84+
85+
assert len(workchains) == 5

0 commit comments

Comments
 (0)