mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[2353] Don't call real sleep() in mock function
This commit is contained in:
@@ -1727,7 +1727,6 @@ class TestBossComponents(unittest.TestCase):
|
||||
def _my_sleep(nsec):
|
||||
global attempts
|
||||
attempts += 1
|
||||
return tmp_sleep(nsec)
|
||||
time.sleep = _my_sleep
|
||||
|
||||
thrown = False
|
||||
|
Reference in New Issue
Block a user