diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-03-05 18:41:27 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-03-05 18:41:27 +0000 |
commit | d7dbad3526136cfc9fdbd568635be5016fb637db (patch) | |
tree | 531764768f634bb73b1a31f9f5a3a6e3b0ac2aa5 /tests/handlers/test_profile.py | |
parent | Update sample config (diff) | |
download | synapse-d7dbad3526136cfc9fdbd568635be5016fb637db.tar.xz |
Split ratelimiters in two (one for events, one for registration)
Diffstat (limited to 'tests/handlers/test_profile.py')
-rw-r--r-- | tests/handlers/test_profile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_profile.py b/tests/handlers/test_profile.py index d60c124eec..905816a44b 100644 --- a/tests/handlers/test_profile.py +++ b/tests/handlers/test_profile.py @@ -58,7 +58,7 @@ class ProfileTestCase(unittest.TestCase): ratelimiter=NonCallableMock(spec_set=["can_do_action"]), ) - self.ratelimiter = hs.get_ratelimiter() + self.ratelimiter = hs.get_events_ratelimiter() self.ratelimiter.can_do_action.return_value = (True, 0) self.store = hs.get_datastore() |