Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_signup: Fix asserted redirect Location in verify_signup.
Mateusz Mandera99ade3f535b5
diff --git a/zerver/tests/test_signup.py b/zerver/tests/test_signup.pyindex 02f5235c8a2..00086cfe3ed 100644--- a/zerver/tests/test_signup.py+++ b/zerver/tests/test_signup.py@@ -3625,7 +3625,7 @@ class UserSignUpTest(InviteUserBase):# Verify that we were served a redirect to the app.self.assertEqual(result.status_code, 302)- self.assertEqual(result["Location"], "http://lear.testserver/")+ self.assertEqual(result["Location"], f"{realm.uri}/")# Verify that we successfully logged in.user_profile = get_user(email, realm)