Commit 4e742ade authored by Rafal P. Wiewiora's avatar Rafal P. Wiewiora
Browse files

fix indent

parent bd6c5aa9
...@@ -450,10 +450,10 @@ class AmoebaTestForceField(unittest.TestCase): ...@@ -450,10 +450,10 @@ class AmoebaTestForceField(unittest.TestCase):
</PeriodicTorsionForce> </PeriodicTorsionForce>
</ForceField>""" </ForceField>"""
ff = ForceField(StringIO(xml)) ff = ForceField(StringIO(xml))
self.assertEqual(len(ff._forces[0].proper), 1) self.assertEqual(len(ff._forces[0].proper), 1)
self.assertEqual(len(ff._forces[0].improper), 1) self.assertEqual(len(ff._forces[0].improper), 1)
# Use wildcards in classes # Use wildcards in classes
xml = """ xml = """
...@@ -468,10 +468,11 @@ class AmoebaTestForceField(unittest.TestCase): ...@@ -468,10 +468,11 @@ class AmoebaTestForceField(unittest.TestCase):
</PeriodicTorsionForce> </PeriodicTorsionForce>
</ForceField>""" </ForceField>"""
ff = ForceField(StringIO(xml)) ff = ForceField(StringIO(xml))
self.assertEqual(len(ff._forces[0].proper), 1) self.assertEqual(len(ff._forces[0].proper), 1)
self.assertEqual(len(ff._forces[0].improper), 1) self.assertEqual(len(ff._forces[0].improper), 1)
if __name__ == '__main__': if __name__ == '__main__':
unittest.main() unittest.main()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment