]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2353] Don't call real sleep() in mock function
authorMukund Sivaraman <muks@isc.org>
Thu, 6 Dec 2012 01:36:55 +0000 (07:06 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 6 Dec 2012 01:36:58 +0000 (07:06 +0530)
src/bin/bind10/tests/bind10_test.py.in

index 1e62d9f1aed82ba6482477c6280aee8581e8d16e..cc4dafd3c5282ae24d531740933754531220555f 100644 (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