Skip to content

Commit

Permalink
Remove cclib assertions in orca
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-S-Rosen authored Jul 26, 2024
1 parent a8c8f8a commit b40ee2c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/core/recipes/orca_recipes/test_orca_recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def test_static_job(tmp_path, monkeypatch):
assert output["parameters"]["mult"] == 1
assert output["spin_multiplicity"] == 1
assert output["charge"] == 0
assert output.get("attributes")


@pytest.mark.skipif(os.name == "nt", reason="mpirun not available on Windows")
Expand All @@ -57,7 +56,6 @@ def test_static_job_parallel(tmp_path, monkeypatch):
== "def2-svp engrad normalprint wb97x-d3bj xyzfile"
)
assert "%scf maxiter 300 end" in output["parameters"]["orcablocks"]
assert output.get("attributes")


@pytest.mark.skipif(os.name == "nt", reason="mpirun not available on Windows")
Expand Down Expand Up @@ -93,7 +91,6 @@ def test_relax_job(tmp_path, monkeypatch):
)
assert output.get("trajectory")
assert len(output["trajectory"]) > 1
assert output.get("attributes")


@pytest.mark.skipif(os.name == "nt", reason="mpirun not available on Windows")
Expand Down Expand Up @@ -136,7 +133,6 @@ def test_ase_relax_job(tmp_path, monkeypatch):
assert output["parameters_opt"]["fmax"] == 0.1
assert output.get("trajectory")
assert output.get("trajectory_results")
assert output.get("attributes")


@pytest.mark.skipif(os.name == "nt", reason="mpirun not available on Windows")
Expand All @@ -152,7 +148,6 @@ def test_ase_relax_job_store(tmp_path, monkeypatch):
assert f"step{i}" in os.listdir(output["dir_name"])
assert "orca.xyz.gz" in os.listdir(Path(output["dir_name"], f"step{i}"))
assert len(output["steps"]) == nsteps
assert "attributes" in output["steps"][0]


@pytest.mark.skipif(os.name == "nt", reason="mpirun not available on Windows")
Expand All @@ -174,7 +169,6 @@ def test_freq_job(tmp_path, monkeypatch):
assert output["parameters"]["charge"] == 0
assert output["parameters"]["mult"] == 1
assert output["parameters"]["orcasimpleinput"] == "def2-svp freq hf xyzfile"
assert output.get("attributes")


@pytest.mark.skipif(os.name == "nt", reason="mpirun not available on Windows")
Expand Down Expand Up @@ -202,4 +196,3 @@ def test_ase_quasi_irc_perturb_job(tmp_path, monkeypatch):
assert output["parameters"]["charge"] == 0
assert output["parameters"]["mult"] == 1
assert output["parameters"]["orcasimpleinput"] == "def2-svp engrad hf xyzfile"
assert output.get("attributes")

0 comments on commit b40ee2c

Please sign in to comment.