From 4d9fbcb833b0f39b84b6e5a4fb847e4e5a516f56 Mon Sep 17 00:00:00 2001 From: Christoph Klein Date: Thu, 14 May 2015 10:00:42 -0500 Subject: [PATCH] intermol conversion unit test fixed --- mbuild/tests/test_compound.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)