test_signup: Fix asserted redirect Location in verify_signup.

The expected Location should depend on the realm.
This commit is contained in:
Mateusz Mandera 2021-09-13 15:48:33 +02:00 committed by Tim Abbott
parent 05fe62c96c
commit 99ade3f535
1 changed files with 1 additions and 1 deletions

View File

@ -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)