mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 06:25:34 +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):
|
def _my_sleep(nsec):
|
||||||
global attempts
|
global attempts
|
||||||
attempts += 1
|
attempts += 1
|
||||||
return tmp_sleep(nsec)
|
|
||||||
time.sleep = _my_sleep
|
time.sleep = _my_sleep
|
||||||
|
|
||||||
thrown = False
|
thrown = False
|
||||||
|
Reference in New Issue
Block a user