Skip to content

Commit

Permalink
Try fixing the tests that crash for unknown reason
Browse files Browse the repository at this point in the history
  • Loading branch information
bastonero committed May 24, 2023
1 parent 43cafa7 commit ef934db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ classifiers = [
'Programming Language :: Python',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
]
keywords = ['aiida', 'workflows']
requires-python = '>=3.8'
Expand Down
3 changes: 2 additions & 1 deletion tests/workflows/phonons/test_phonon.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def _generate_workchain_phonon(structure=None, append_inputs=None, return_inputs
'settings': {
'sleep_submission_time': 0.
},
'symmetry': {},
}

if return_inputs:
Expand Down Expand Up @@ -63,7 +64,7 @@ def test_valididation_inputs(generate_workchain_phonon):
)
@pytest.mark.usefixtures('aiida_profile')
def test_invalid_inputs(generate_workchain_phonon, parameters, message):
"""Test `DielectricWorkChain` validation methods."""
"""Test `PhononWorkChain` validation methods."""
if 'supercell_matrix' in parameters:
inputs = generate_workchain_phonon(return_inputs=True)
inputs.update({'supercell_matrix': orm.List(parameters['supercell_matrix'])})
Expand Down

0 comments on commit ef934db

Please sign in to comment.