diff --git a/mbuild/tests/test_compound.py b/mbuild/tests/test_compound.py index eee6ac7a0..a4b909946 100755 --- a/mbuild/tests/test_compound.py +++ b/mbuild/tests/test_compound.py @@ -32,7 +32,7 @@ def test_intermol_conversion1(self, ethane, h2o): intermol_system = compound._to_intermol() assert len(intermol_system.molecule_types) == 1 assert 'Compound' in intermol_system.molecule_types - assert len(intermol_system.molecule_types['Compound'].bond_forces) == 9 + assert len(intermol_system.molecule_types['Compound'].bonds) == 9 assert len(intermol_system.molecule_types['Compound'].molecules) == 1 molecules = list(intermol_system.molecule_types['Compound'].molecules) @@ -46,8 +46,8 @@ def test_intermol_conversion2(self, ethane, h2o): assert len(intermol_system.molecule_types) == 2 assert 'Ethane' in intermol_system.molecule_types assert 'H2O' in intermol_system.molecule_types - assert len(intermol_system.molecule_types['Ethane'].bond_forces) == 7 - assert len(intermol_system.molecule_types['H2O'].bond_forces) == 2 + assert len(intermol_system.molecule_types['Ethane'].bonds) == 7 + assert len(intermol_system.molecule_types['H2O'].bonds) == 2 assert len(intermol_system.molecule_types['Ethane'].molecules) == 2 ethanes = list(intermol_system.molecule_types['Ethane'].molecules)