mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Made a few adjustments to test the beta redirect:
- Explicitly return the redirect - Change the redirect to be a 302 instead of 301 - Adjusted the test client to allow sub domains - Added the remaining tests A big thank you to @A-Shumway42 for getting this work underway! Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -2392,6 +2392,7 @@ def _client(notify_admin):
|
||||
Do not use this fixture directly – use `client_request` instead
|
||||
"""
|
||||
with notify_admin.test_request_context(), notify_admin.test_client() as client:
|
||||
client.allow_subdomain_redirects = True
|
||||
yield client
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user