Fixed unit test which used assertIsNotNone

This commit is contained in:
Ronald van Rij 2014-05-09 14:33:18 +02:00
parent babbc8bcd6
commit 9544b7d968

View File

@ -2281,7 +2281,7 @@ class InstanceTest(unittest.TestCase):
log.machine = "Localhost"
log.save()
self.assertIsNotNone(log.id)
self.assertTrue(log.id is not None)
log.log = "Saving"
log.save()
@ -2306,7 +2306,7 @@ class InstanceTest(unittest.TestCase):
log.machine = "Localhost"
log.save()
self.assertIsNotNone(log.id)
self.assertTrue(log.id is not None)
log.log = "Saving"
log.save()