Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

test_decorators: Delete a type: ignore issue.

Anders Kaseorg89ab3682f1da
diff --git a/zerver/tests/test_decorators.py b/zerver/tests/test_decorators.py
index be58bf9becb..13e153aafa3 100644
--- a/zerver/tests/test_decorators.py
+++ b/zerver/tests/test_decorators.py
@@ -464,7 +464,6 @@ class SkipRateLimitingTest(ZulipTestCase):
request = HostRequestMock(host="zulip.testserver")
request.method = 'POST'
- request.is_authenticated = True # type: ignore[attr-defined] # HostRequestMock doesn't have is_authenticated
request.user = self.example_user("hamlet")
with mock.patch('zerver.decorator.rate_limit') as rate_limit_mock: