diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-09-07 02:58:18 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-07 02:58:18 +1000 |
commit | 52ec6e9dfad5e088f000d20cbb4a1bbc8008c00d (patch) | |
tree | c146b5df538580374b1412454af34eb99faae4ec /tests/api | |
parent | Merge pull request #3800 from matrix-org/neilj/remove-guests-from-mau-count (diff) | |
download | synapse-52ec6e9dfad5e088f000d20cbb4a1bbc8008c00d.tar.xz |
Port tests/ to Python 3 (#3808)
Diffstat (limited to 'tests/api')
-rw-r--r-- | tests/api/test_auth.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/api/test_auth.py b/tests/api/test_auth.py index f65a27e5f1..379e9c4ab1 100644 --- a/tests/api/test_auth.py +++ b/tests/api/test_auth.py @@ -471,6 +471,7 @@ class AuthTestCase(unittest.TestCase): def test_reserved_threepid(self): self.hs.config.limit_usage_by_mau = True self.hs.config.max_mau_value = 1 + self.store.get_monthly_active_count = lambda: defer.succeed(2) threepid = {'medium': 'email', 'address': 'reserved@server.com'} unknown_threepid = {'medium': 'email', 'address': 'unreserved@server.com'} self.hs.config.mau_limits_reserved_threepids = [threepid] |