Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-S-Rosen committed Oct 11, 2023
1 parent 609705a commit eceff4a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/recipes/vasp_recipes/test_vasp_recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,11 +502,13 @@ def test_vasp_version(tmpdir):

DEFAULT_SETTINGS = SETTINGS.copy()
SETTINGS.VASP_MIN_VERSION = 5.4
SETTINGS.VASP_FORCE_COPILOT = True

tmpdir.chdir()

atoms = bulk("Cu") * (2, 2, 2)

output = static_job(atoms, preset=None)
assert output["parameters"].get("efermi") is None
output = static_job(atoms)
assert "efermi" not in output["parameters"]
SETTINGS.VASP_MIN_VERSION = DEFAULT_SETTINGS.VASP_MIN_VERSION
SETTINGS.VASP_FORCE_COPILOT = False

0 comments on commit eceff4a

Please sign in to comment.