Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Clean-up Tests #329

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 14 commits into from
Prev Previous commit
Next Next commit
Fix nameclash object
  • Loading branch information
vmuriart committed Jan 31, 2017
commit d79db2d1817d9b548d9459686e1f55f239804038
368 changes: 184 additions & 184 deletions src/tests/test_array.py

Large diffs are not rendered by default.

500 changes: 250 additions & 250 deletions src/tests/test_conversion.py

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions src/tests/test_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ def test():

def testEnumConversion(self):
"""Test enumeration conversion."""
object = Test.FieldTest()
self.assertTrue(object.EnumField == 0)
ob = Test.FieldTest()
self.assertTrue(ob.EnumField == 0)

object.EnumField = Test.ShortEnum.One
self.assertTrue(object.EnumField == 1)
ob.EnumField = Test.ShortEnum.One
self.assertTrue(ob.EnumField == 1)

def test():
Test.FieldTest().EnumField = 20
Expand Down
Loading