mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-13 21:19:42 +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",
|
help_text="Fully qualified domain name",
|
||||||
)
|
)
|
||||||
|
|
||||||
is_complete = models.BooleanField(
|
is_complete = models.BooleanField(default=True, help_text="Determines if this Draft is complete or not")
|
||||||
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)
|
application = DomainApplication.objects.create(creator=self.user, requested_domain=site)
|
||||||
response = self.client.get("/")
|
response = self.client.get("/")
|
||||||
|
|
||||||
# count = 6 because it is also in screenreader content, and in the delete modal
|
# count = 4 because pf screenreader content
|
||||||
self.assertContains(response, "igorville.gov", count=6)
|
self.assertContains(response, "igorville.gov", count=4)
|
||||||
|
|
||||||
# clean up
|
# clean up
|
||||||
application.delete()
|
application.delete()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue