Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kavanase committed Apr 6, 2024
1 parent 8eaef8c commit a9b9eda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def _check_output_info_and_kpoints_agsbte2(info_messages: list, output: str):
@pytest.mark.parametrize('tag', ['', '_spin', '_soc'])
def test_unfold(si_project_dir, tag):
"""
Test the generate function
Test the generate and unfolding functions
"""
runner = CliRunner()

Expand Down Expand Up @@ -217,7 +217,7 @@ def test_unfold(si_project_dir, tag):
if tag == '':
output = runner.invoke(easyunfold, ['unfold', '--data-file', 'test.json', 'effective-mass'])
assert 'Hole effective masses' in output.stdout
assert r'0 m_e 0.820036 8 [0.5, 0.0, 0.5] (X)' in output.stdout
assert r'0 m_e 0.82 8 [0.5, 0.0, 0.5] (X)' in output.stdout
# Plot effective mass
output = runner.invoke(
easyunfold,
Expand Down

0 comments on commit a9b9eda

Please sign in to comment.