Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_external: Fix incorrect clear_history() call.
Mateusz Mandera0d6bb6d53b1c
diff --git a/zerver/tests/test_external.py b/zerver/tests/test_external.pyindex 273d76994b5..880e07e5796 100644--- a/zerver/tests/test_external.py+++ b/zerver/tests/test_external.py@@ -190,7 +190,7 @@ class RateLimitTests(ZulipTestCase):with self.settings(OPEN_REALM_CREATION=True):add_ratelimit_rule(1, 5, domain="create_realm_by_ip")try:- RateLimitedIPAddr("127.0.0.1").clear_history()+ RateLimitedIPAddr("127.0.0.1", domain="create_realm_by_ip").clear_history()self.do_test_hit_ratelimits(lambda: self.client_post("/new/", {"email": "[email protected]"}),assert_func=assert_func,