Skip to content

Commit a7b4bd2

Browse files
committed
Fixed unit test
1 parent 838046c commit a7b4bd2

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

unittests/test_validators.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,19 +321,20 @@ def test_VSIntegerProperty(self):
321321
t = VSIntegerProperty("Test")
322322
self.assertEqual(t.name, "Test")
323323
self.assertIs(t.value, None)
324-
self.assertIs(t.switch, None)
324+
#self.assertIs(t.switch, None)
325325

326-
t = VSIntegerProperty("Test", switch="/Foo")
326+
#t = VSIntegerProperty("Test", switch="/Foo")
327+
t = VSIntegerProperty("Test")
327328
self.assertEqual(t.name, "Test")
328329
self.assertIs(t.value, None)
329-
self.assertEqual(t.switch, "/Foo")
330+
#self.assertEqual(t.switch, "/Foo")
330331

331332
t = VSIntegerProperty("Test", 33)
332333
self.assertEqual(t.name, "Test")
333334

334335
# Use Equal, Python 2.7 returns 33L so is doesn't match
335336
self.assertEqual(t.value, 33)
336-
self.assertIs(t.switch, None)
337+
#self.assertIs(t.switch, None)
337338

338339
# Failure cases
339340
with self.assertRaises(ValueError):

0 commit comments

Comments
 (0)