+ fix broken unit test
This commit is contained in:
parent
74c9a3dc4e
commit
baf0dc0524
|
@ -113,8 +113,8 @@ class DocumentBasicCases(unittest.TestCase):
|
|||
self.failUnless(L1.ConstraintFloat - 0.0 < 0.001)
|
||||
|
||||
# test enum property
|
||||
L1.Enum = "Four"
|
||||
self.failUnless(L1.Enum == "Four")
|
||||
L1.Enum = "One"
|
||||
L1.Enum = 2
|
||||
self.failUnless(L1.Enum == "Two", "Different value to 'Two'")
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user