summary refs log tree commit diff
path: root/tests/test_mau.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-03-05 14:41:13 +0000
committerErik Johnston <erik@matrix.org>2019-03-05 14:41:13 +0000
commitdc510e0e43ea1c8401f2ed0bfcd1af34c88c9a8b (patch)
treea8a1f183cc788061f1078c209b5f85f741e646df /tests/test_mau.py
parentRemove #4733 debug (#4767) (diff)
parentAdd rate-limiting on registration (#4735) (diff)
downloadsynapse-dc510e0e43ea1c8401f2ed0bfcd1af34c88c9a8b.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'tests/test_mau.py')
-rw-r--r--tests/test_mau.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_mau.py b/tests/test_mau.py

index 04f95c942f..00be1a8c21 100644 --- a/tests/test_mau.py +++ b/tests/test_mau.py
@@ -17,7 +17,7 @@ import json -from mock import Mock, NonCallableMock +from mock import Mock from synapse.api.constants import LoginType from synapse.api.errors import Codes, HttpResponseException, SynapseError @@ -36,7 +36,6 @@ class TestMauLimit(unittest.HomeserverTestCase): "red", http_client=None, federation_client=Mock(), - ratelimiter=NonCallableMock(spec_set=["send_message"]), ) self.store = self.hs.get_datastore()