diff options
author | Erik Johnston <erik@matrix.org> | 2016-12-09 16:48:48 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-12-09 16:48:48 +0000 |
commit | 8b34f71bea05f7190767ec9aebf85528e409c09d (patch) | |
tree | 2cbc928c604fb96cf8a37c6d89050e2424bf0f10 /tests/utils.py | |
parent | Correctly handle timeout errors (diff) | |
download | synapse-8b34f71bea05f7190767ec9aebf85528e409c09d.tar.xz |
Fix unit tests
Diffstat (limited to '')
-rw-r--r-- | tests/utils.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py index 2d0bd205fd..d3d6c8021d 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -294,6 +294,10 @@ class MockClock(object): def advance_time_msec(self, ms): self.advance_time(ms / 1000.) + def time_bound_deferred(self, d, *args, **kwargs): + # We don't bother timing things out for now. + return d + class SQLiteMemoryDbPool(ConnectionPool, object): def __init__(self): |