Allow advancing the MockClock's time

pull/4/merge
Paul "LeoNerd" Evans 11 years ago
parent eef58a299e
commit a6a9b71da0
  1. 4
      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):

Loading…
Cancel
Save