Browse Source

[2353] Restore the saved time.time function

Mukund Sivaraman 12 years ago
parent
commit
924c7a481e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/bin/bind10/tests/bind10_test.py.in

+ 2 - 0
src/bin/bind10/tests/bind10_test.py.in

@@ -1623,6 +1623,8 @@ class TestBossComponents(unittest.TestCase):
         # 1 second of attempts every 0.1 seconds should result in at least 5 attempts
         self.assertGreater(attempts, 5)
 
+        time.time = tmp_time
+
     def test_start_cfgmgr(self):
         '''Test that b10-cfgmgr is started.'''
         class DummySession():