Linting and tests

This commit is contained in:
zandercymatics 2024-01-17 14:56:27 -07:00
parent dc032e5222
commit 25a3ed44f7
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 2 additions and 3 deletions

View file

@ -174,7 +174,7 @@
</a>
<div
class="usa-modal"
class="usa-modal usa-modal--lg"
id="toggle-delete-domain-alert-{{ forloop.counter }}"
aria-labelledby="Are you sure you want to continue?"
aria-describedby="User will be removed"

View file

@ -95,7 +95,7 @@ class LoggedInTests(TestWithUser):
application = DomainApplication.objects.create(creator=self.user, requested_domain=site)
response = self.client.get("/")
# count = 4 because pf screenreader content
# count = 5 because of screenreader content
self.assertContains(response, "igorville.gov", count=4)
# clean up

View file

@ -48,7 +48,6 @@ def _get_applications(request):
# Create a placeholder DraftDomain for each incomplete draft
valid_statuses = [DomainApplication.ApplicationStatus.STARTED, DomainApplication.ApplicationStatus.WITHDRAWN]
deletable_applications = applications.filter(status__in=valid_statuses)
return (applications, deletable_applications)