Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jthorton committed Apr 19, 2024
1 parent c2d4489 commit e0a53a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qcengine/programs/tests/test_programs.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,9 @@ def test_aimnet2_energy(model, expected_energy):
result = qcng.compute(atomic_input, "aimnet2")
assert result.success
assert pytest.approx(result.return_result) == expected_energy
assert "charges" in result.extras
assert "charges_std" in result.extras
assert "forces_std" in result.extras
assert "charges" in result.extras["aimnet2"]
assert "ensemble_charges_std" in result.extras["aimnet2"]
assert "ensemble_forces_std" in result.extras["aimnet2"]


@using("aimnet2")
Expand All @@ -459,4 +459,4 @@ def test_aimnet2_gradient():
)
assert pytest.approx(result.properties.return_energy) == -76.47412023758551
# make sure the other properties were also saved
assert "charges" in result.extras
assert "charges" in result.extras["aimnet2"]

0 comments on commit e0a53a0

Please sign in to comment.