Tests: added delay to wait for error logging.

This commit is contained in:
Andrey Zelenkov
2018-12-25 17:22:32 +03:00
parent 4ccf0c8a17
commit 5964413066

View File

@@ -1,3 +1,4 @@
import time
import unittest
import unit
@@ -105,6 +106,8 @@ class TestUnitPythonApplication(unit.TestUnitApplicationPython):
self.stop()
time.sleep(0.2)
self.assertIsNotNone(self.search_in_log(r'RuntimeError'),
'ctx iter atexit')