summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-11-11 17:51:14 +0000
committerErik Johnston <erik@matrix.org>2015-11-11 17:51:14 +0000
commit6341be45c6ceaa1b01a0b98ac6e24d2684841a26 (patch)
treee3bd4addb574125ee81931c20feb57c0712d46b0 /tests/utils.py
parentRemove anonymous access, since its not ready yet (diff)
parentMerge pull request #359 from matrix-org/markjh/incremental_indexing (diff)
downloadsynapse-6341be45c6ceaa1b01a0b98ac6e24d2684841a26.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.11.0
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py3
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):