Skip to content

Commit

Permalink
Test n_qpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliottKasoar committed Oct 14, 2024
1 parent 085aa61 commit 0a339c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_phonons_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ def test_bands_simple(tmp_path):
"--struct",
DATA_PATH / "NaCl.cif",
"--bands",
"--n-qpoints",
21,
"--no-write-full",
"--no-hdf5",
"--file-prefix",
Expand All @@ -110,6 +112,7 @@ def test_bands_simple(tmp_path):
with lzma.open(autoband_results, mode="rb") as file:
bands = yaml.safe_load(file)
assert "eigenvector" not in bands["phonon"][0]["band"][0]
assert bands["nqpoint"] == 126

# Read phonons summary file
assert summary_path.exists()
Expand Down

0 comments on commit 0a339c1

Please sign in to comment.