Commit 6535381d authored by Łukasz Nowak's avatar Łukasz Nowak

Use simple tic.

parent 7e826cdd
...@@ -541,13 +541,13 @@ class TestSlapOSComputerConstraint(testSlapOSMixin): ...@@ -541,13 +541,13 @@ class TestSlapOSComputerConstraint(testSlapOSMixin):
reference=reference) reference=reference)
consistency_message = 'Reference must be unique' consistency_message = 'Reference must be unique'
self.stepTic() self.tic()
self.assertTrue(consistency_message in getMessageList(computer)) self.assertTrue(consistency_message in getMessageList(computer))
self.assertTrue(consistency_message in getMessageList(computer_2)) self.assertTrue(consistency_message in getMessageList(computer_2))
computer_2.setReference(reference_2) computer_2.setReference(reference_2)
self.stepTic() self.tic()
self.assertFalse(consistency_message in getMessageList(computer)) self.assertFalse(consistency_message in getMessageList(computer))
self.assertFalse(consistency_message in getMessageList(computer_2)) self.assertFalse(consistency_message in getMessageList(computer_2))
219 220
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment