diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-11-10 15:51:40 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-11-10 15:51:40 +0000 |
commit | 36c58b18a32f05a2f025bc916c14b9e2f78f439b (patch) | |
tree | 74388f162ee07c716e35ab8383ff29ae8a5904e6 /tests/utils.py | |
parent | Run the background updates when starting synapse. (diff) | |
download | synapse-36c58b18a32f05a2f025bc916c14b9e2f78f439b.tar.xz |
Test for background updates
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py index ca2c33cf8e..91040c2efd 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -243,6 +243,9 @@ class MockClock(object): else: self.timers.append(t) + def advance_time_msec(self, ms): + self.advance_time(ms / 1000.) + class SQLiteMemoryDbPool(ConnectionPool, object): def __init__(self): |