Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
typing: Fix type annotation of assert_(not_)in_success_response.
Zixuan James Li730d3ec9297a
diff --git a/zerver/lib/test_classes.py b/zerver/lib/test_classes.pyindex 1ca76c50960..287e76a9585 100644--- a/zerver/lib/test_classes.py+++ b/zerver/lib/test_classes.py@@ -1133,7 +1133,7 @@ Output:self.assertIn(substring, response.content.decode())def assert_in_success_response(- self, substrings: List[str], response: "TestHttpResponse"+ self, substrings: List[str], response: Union["TestHttpResponse", HttpResponse]) -> None:self.assertEqual(response.status_code, 200)decoded = response.content.decode()@@ -1141,7 +1141,7 @@ Output:self.assertIn(substring, decoded)def assert_not_in_success_response(- self, substrings: List[str], response: "TestHttpResponse"+ self, substrings: List[str], response: Union["TestHttpResponse", HttpResponse]) -> None:self.assertEqual(response.status_code, 200)decoded = response.content.decode()