diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2019-03-19 04:50:24 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-19 04:50:24 +1100 |
commit | 282c97327f150a37d53f90ab6207bc1f98e70da3 (patch) | |
tree | 927982cf2c866ec4de99af633f507f892d28bfd9 /tests/unittest.py | |
parent | Add ratelimiting on failed login attempts (#4865) (diff) | |
download | synapse-282c97327f150a37d53f90ab6207bc1f98e70da3.tar.xz |
Migrate the user directory initial population to a background task (#4864)
Diffstat (limited to '')
-rw-r--r-- | tests/unittest.py | 4 |
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): |