From 3c8883fa627945f50957f431a3c07b55c8d10862 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sat, 28 Jun 2025 05:51:19 +0200 Subject: Remove 3pid and identity servers --- tests/api/test_auth.py | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'tests/api/test_auth.py') 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" -- cgit 1.5.1