Update test_views_domain.py

This commit is contained in:
zandercymatics 2024-07-25 09:59:32 -06:00
parent c4d8c1a38d
commit 5f646ce269
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -1126,7 +1126,7 @@ class TestDomainSeniorOfficial(TestDomainOverview):
# However, the page should contain the SO on portfolio
page = self.app.get(reverse("domain-senior-official", kwargs={"pk": self.domain.id}))
# Make sure that we're on the portfolio page.
# Make sure that we're in the portfolio "view".
# This also implicity tests that the flag is working.
self.assertContains(page, "Suborganization")
self.assertNotContains(page, "Organization name")