mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 20:18:38 +02:00
Linting and tests
This commit is contained in:
parent
dc032e5222
commit
25a3ed44f7
3 changed files with 2 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue