mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-27 03:23:51 +02:00
Add url to ignore_urls list
This commit is contained in:
parent
a30ed4725a
commit
5c9fbf483e
3 changed files with 6 additions and 3 deletions
|
@ -110,13 +110,13 @@ class TestURLAuth(TestCase):
|
|||
# Note that the trailing slash is wobbly depending on how the URL was defined.
|
||||
IGNORE_URLS = [
|
||||
# These are the OIDC auth endpoints that always need
|
||||
# to be public.
|
||||
# to be public. Use the exact URLs that will be tested.
|
||||
"/openid/login/",
|
||||
"/openid/logout/",
|
||||
"/openid/callback",
|
||||
"/openid/callback/login/",
|
||||
"/openid/callback/logout/",
|
||||
"/api/v1/available",
|
||||
"/api/v1/available/whitehouse.gov",
|
||||
]
|
||||
|
||||
def assertURLIsProtectedByAuth(self, url):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue