forked from MirrorHub/synapse
Fix unit tests
This commit is contained in:
parent
fbaf868f62
commit
8b34f71bea
1 changed files with 4 additions and 0 deletions
|
@ -294,6 +294,10 @@ class MockClock(object):
|
||||||
def advance_time_msec(self, ms):
|
def advance_time_msec(self, ms):
|
||||||
self.advance_time(ms / 1000.)
|
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):
|
class SQLiteMemoryDbPool(ConnectionPool, object):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
Loading…
Reference in a new issue