mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-15 14:04:10 +02:00
small fixes
This commit is contained in:
parent
044ca75ebe
commit
c4c8cde05f
2 changed files with 3 additions and 3 deletions
|
@ -182,7 +182,7 @@ def validate_permissions():
|
|||
url_name = pattern.name
|
||||
|
||||
if url_name:
|
||||
# Skip check for health endpoint which intentionally has no decorator
|
||||
# Skip check for endpoints that intentionally have no decorator
|
||||
if url_name in UNCHECKED_URLS:
|
||||
return
|
||||
|
||||
|
|
|
@ -8,9 +8,9 @@ These tests ensure that:
|
|||
"""
|
||||
|
||||
from django.test import TestCase
|
||||
from django.urls import reverse, NoReverseMatch
|
||||
from django.urls import reverse
|
||||
from registrar.models.user_domain_role import UserDomainRole
|
||||
from registrar.permissions import URL_PERMISSIONS, verify_all_urls_have_permissions, validate_permissions
|
||||
from registrar.permissions import verify_all_urls_have_permissions, validate_permissions
|
||||
from registrar.tests.common import MockDbForIndividualTests
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue