diff --git a/tests/utils.py b/tests/utils.py index e397712d82..20a63316fd 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -104,6 +104,10 @@ class MockClock(object): def time_msec(self): return self.time() * 1000 + # For unit testing + def advance_time(self, secs): + self.now += secs + class MemoryDataStore(object):