Skip to content

Commit

Permalink
Fix wrong assertion in test basics
Browse files Browse the repository at this point in the history
self.assertTrue(Unit.GetUnit("DataType").isDataType())
  • Loading branch information
Richard Wallis committed Jun 17, 2016
1 parent 4b08053 commit e059d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_basics.py
Expand Up @@ -504,7 +504,7 @@ def test_enumValueCommentCount(self):
class DataTypeTests(unittest.TestCase):
def test_booleanDataType(self):
self.assertTrue( Unit.GetUnit("Boolean").isDataType())
self.assertFalse(Unit.GetUnit("DataType").isDataType())
self.assertTrue(Unit.GetUnit("DataType").isDataType())
self.assertFalse(Unit.GetUnit("Thing").isDataType())
self.assertFalse(Unit.GetUnit("Duration").isDataType())

Expand Down

0 comments on commit e059d5f

Please sign in to comment.