Add url to ignore_urls list

This commit is contained in:
Erin 2023-10-23 09:50:35 -07:00
parent a30ed4725a
commit 5c9fbf483e
No known key found for this signature in database
GPG key ID: 1CAD275313C62460
3 changed files with 6 additions and 3 deletions

View file

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