Update test_views.py

This commit is contained in:
zandercymatics 2024-01-09 09:11:40 -07:00
parent fed4432207
commit ba04cf7f87
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -89,8 +89,8 @@ class LoggedInTests(TestWithUser):
application = DomainApplication.objects.create(creator=self.user, requested_domain=site)
response = self.client.get("/")
# count = 5 because it is also in screenreader content, and in the delete modal
self.assertContains(response, "igorville.gov", count=5)
# count = 6 because it is also in screenreader content, and in the delete modal
self.assertContains(response, "igorville.gov", count=6)
# clean up
application.delete()