mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-20 17:56:11 +02:00
Update test_views_domain.py
This commit is contained in:
parent
9523e7966e
commit
5f507c0bc8
1 changed files with 3 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue