small fixes

This commit is contained in:
matthewswspence 2025-03-20 11:08:52 -05:00
parent 044ca75ebe
commit c4c8cde05f
No known key found for this signature in database
GPG key ID: FB458202A7852BA4
2 changed files with 3 additions and 3 deletions

View file

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

View file

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