summary refs log tree commit diff
path: root/tests/unittest.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-03-19 12:19:20 +0000
committerRichard van der Hoff <richard@matrix.org>2019-03-19 12:19:20 +0000
commit2561b628af267ab567118a3e40038504c60acf41 (patch)
treee283996a2db1e6fa540c1ae963ca7c03903d06cc /tests/unittest.py
parentRevert "Reinstate EDU-batching hacks" (diff)
parentfix test_auto_create_auto_join_where_no_consent (#4886) (diff)
downloadsynapse-2561b628af267ab567118a3e40038504c60acf41.tar.xz
Merge branch 'develop' into matrix-org-hotfixes
Diffstat (limited to 'tests/unittest.py')
-rw-r--r--tests/unittest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unittest.py b/tests/unittest.py

index ef31321bc8..7772a47078 100644 --- a/tests/unittest.py +++ b/tests/unittest.py
@@ -330,10 +330,10 @@ class HomeserverTestCase(TestCase): """ self.reactor.pump([by] * 100) - def get_success(self, d): + def get_success(self, d, by=0.0): if not isinstance(d, Deferred): return d - self.pump() + self.pump(by=by) return self.successResultOf(d) def register_user(self, username, password, admin=False):