Fixed unit test which used assertIsNotNone
This commit is contained in:
parent
babbc8bcd6
commit
9544b7d968
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user