summary refs log tree commit diff
path: root/tests/api/test_auth.py
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-06-28 05:51:19 +0200
committerRory& <root@rory.gay>2025-06-28 05:51:19 +0200
commit3c8883fa627945f50957f431a3c07b55c8d10862 (patch)
treed80423df10d73456d904ca009d9a30348784e68c /tests/api/test_auth.py
parentTEMP: expose server error tracebacks (diff)
downloadsynapse-3c8883fa627945f50957f431a3c07b55c8d10862.tar.xz
Remove 3pid and identity servers
Diffstat (limited to 'tests/api/test_auth.py')
-rw-r--r--tests/api/test_auth.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/api/test_auth.py b/tests/api/test_auth.py

index bd229cf7e9..751bf599ae 100644 --- a/tests/api/test_auth.py +++ b/tests/api/test_auth.py
@@ -484,23 +484,6 @@ class AuthTestCase(unittest.HomeserverTestCase): ResourceLimitError, ) - def test_reserved_threepid(self) -> None: - self.auth_blocking._limit_usage_by_mau = True - self.auth_blocking._max_mau_value = 1 - self.store.get_monthly_active_count = AsyncMock(return_value=2) - threepid = {"medium": "email", "address": "reserved@server.com"} - unknown_threepid = {"medium": "email", "address": "unreserved@server.com"} - self.auth_blocking._mau_limits_reserved_threepids = [threepid] - - self.get_failure(self.auth_blocking.check_auth_blocking(), ResourceLimitError) - - self.get_failure( - self.auth_blocking.check_auth_blocking(threepid=unknown_threepid), - ResourceLimitError, - ) - - self.get_success(self.auth_blocking.check_auth_blocking(threepid=threepid)) - def test_hs_disabled(self) -> None: self.auth_blocking._hs_disabled = True self.auth_blocking._hs_disabled_message = "Reason for being disabled"