Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_tornado: Run the test harness with Tornado's URL configuration.
Aman Agrawale3a5bfe8e3ca
diff --git a/zerver/tests/test_tornado.py b/zerver/tests/test_tornado.pyindex acc289dd422..227c7067ff6 100644--- a/zerver/tests/test_tornado.py+++ b/zerver/tests/test_tornado.py@@ -43,7 +43,9 @@ class TornadoWebTestCase(ZulipTestCase):signals.request_finished.disconnect(close_old_connections)self.session_cookie: dict[str, str] | None = Nonetry:- yield+ # Match production, where Tornado uses its own minimal urlconf.+ with override_settings(ROOT_URLCONF="zproject.tornado_urls"):+ yieldfinally:self.http_client.close()self.http_server.stop()