mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 08:52:16 +02:00
Linting
This commit is contained in:
parent
816d1fe599
commit
7083c61f07
2 changed files with 3 additions and 6 deletions
|
@ -21,7 +21,4 @@ class DraftDomain(TimeStampedModel, DomainHelper):
|
|||
help_text="Fully qualified domain name",
|
||||
)
|
||||
|
||||
is_complete = models.BooleanField(
|
||||
default=True,
|
||||
help_text="Determines if this Draft is complete or not"
|
||||
)
|
||||
is_complete = models.BooleanField(default=True, help_text="Determines if this Draft is complete or not")
|
||||
|
|
|
@ -95,8 +95,8 @@ class LoggedInTests(TestWithUser):
|
|||
application = DomainApplication.objects.create(creator=self.user, requested_domain=site)
|
||||
response = self.client.get("/")
|
||||
|
||||
# count = 6 because it is also in screenreader content, and in the delete modal
|
||||
self.assertContains(response, "igorville.gov", count=6)
|
||||
# count = 4 because pf screenreader content
|
||||
self.assertContains(response, "igorville.gov", count=4)
|
||||
|
||||
# clean up
|
||||
application.delete()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue