Skip to content

Commit

Permalink
fixup tests for new error message on time conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
richardjgowers committed Feb 13, 2024
1 parent 0e99b01 commit b43d667
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openfe/tests/protocols/test_openmmutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def test_convert_steps_per_iteration_failure():
timestep='3 fs'
)

with pytest.raises(ValueError, match="not divisible"):
with pytest.raises(ValueError, match="does not evenly divide"):
settings_validation.convert_steps_per_iteration(sim, inty)


Expand Down Expand Up @@ -440,7 +440,7 @@ def test_convert_real_time_analysis_iterations_interval_fail():
real_time_analysis_minimum_time='500 ps',
)

with pytest.raises(ValueError, match='not divisible'):
with pytest.raises(ValueError, match='does not evenly divide'):
settings_validation.convert_real_time_analysis_iterations(sim)


Expand All @@ -454,7 +454,7 @@ def test_convert_real_time_analysis_iterations_min_interval_fail():
real_time_analysis_minimum_time='500.5 ps',
)

with pytest.raises(ValueError, match='not divisible'):
with pytest.raises(ValueError, match='does not evenly divide'):
settings_validation.convert_real_time_analysis_iterations(sim)


Expand Down

0 comments on commit b43d667

Please sign in to comment.