Skip to content

Commit

Permalink
fix unit test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
marjanalbooyeh committed Aug 30, 2023
1 parent 41b8f4d commit 1cd1300
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hoomd_organics/tests/base/test_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def test_ref_energy_invalid_dimension_string(self, polyethylene):
auto_scale=False,
)
with pytest.raises(ReferenceUnitError):
system.reference_length = "1.0 m"
system.reference_energy = "1.0 m"

def test_set_ref_mass(self, polyethylene):
polyethylene = polyethylene(lengths=5, num_mols=1)
Expand Down Expand Up @@ -541,7 +541,7 @@ def test_ref_mass_invalid_dimension_string(self, polyethylene):
auto_scale=False,
)
with pytest.raises(ReferenceUnitError):
system.reference_length = "1.0 m"
system.reference_mass = "1.0 m"

def test_lattice_polymer(self, polyethylene):
polyethylene = polyethylene(lengths=2, num_mols=32)
Expand Down

0 comments on commit 1cd1300

Please sign in to comment.