2
0
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:
Mukund Sivaraman
2012-12-06 07:06:55 +05:30
parent ec4581da1a
commit bae03c0fbf

View File

@@ -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