Update test_views_domain.py

This commit is contained in:
zandercymatics 2024-08-12 10:57:56 -06:00
parent 9523e7966e
commit 5f507c0bc8
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -1618,8 +1618,10 @@ class TestDomainSuborganization(TestDomainOverview):
# Navigate to the suborganization page
page = self.app.get(reverse("domain-suborganization", kwargs={"pk": self.domain.id}))
# The page should display the readonly option
self.assertContains(page, "Vanilla")
# The page shouldn't contain these choices
self.assertNotContains(page, "Vanilla")
self.assertNotContains(page, "Chocolate")
self.assertNotContains(page, unrelated_suborg.name)
self.assertNotContains(page, "Save")