Skip to content
Snippets Groups Projects
Commit a6a9b71d authored by Paul "LeoNerd" Evans's avatar Paul "LeoNerd" Evans
Browse files

Allow advancing the MockClock's time

parent eef58a29
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment