Skip to content

Commit

Permalink
Update a test due to the change of default behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
atztogo committed Jan 15, 2025
1 parent a66f59a commit bbd2380
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/cui/test_phono3py_load_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,13 @@ def test_phono3py_load():
file_path.unlink()


@pytest.mark.parametrize("fc_calculator,exit_code", [(None, 1), ("symfc", 0)])
@pytest.mark.parametrize("fc_calculator,exit_code", [(None, 0), ("symfc", 0)])
def test_phono3py_load_with_typeII_dataset(fc_calculator, exit_code):
"""Test phono3py-load script with typeII dataset."""
"""Test phono3py-load script with typeII dataset.
When None, fallback to symfc.
"""
pytest.importorskip("symfc")
argparse_control = _get_phono3py_load_args(
cwd / ".." / "phono3py_params-Si111-rd.yaml.xz", fc_calculator=fc_calculator
Expand Down

0 comments on commit bbd2380

Please sign in to comment.