Tests: added delay to wait for error logging.
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
import time
|
||||||
import unittest
|
import unittest
|
||||||
import unit
|
import unit
|
||||||
|
|
||||||
@@ -105,6 +106,8 @@ class TestUnitPythonApplication(unit.TestUnitApplicationPython):
|
|||||||
|
|
||||||
self.stop()
|
self.stop()
|
||||||
|
|
||||||
|
time.sleep(0.2)
|
||||||
|
|
||||||
self.assertIsNotNone(self.search_in_log(r'RuntimeError'),
|
self.assertIsNotNone(self.search_in_log(r'RuntimeError'),
|
||||||
'ctx iter atexit')
|
'ctx iter atexit')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user