mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 03:58:39 +02:00
some test
This commit is contained in:
parent
3f3ba22a11
commit
5f9a398bb7
1 changed files with 2 additions and 3 deletions
|
@ -530,7 +530,7 @@ class TestDomainDetailDomainRenewal(TestDomainOverview):
|
||||||
self.assertContains(detail_page, "Renew to maintain access")
|
self.assertContains(detail_page, "Renew to maintain access")
|
||||||
|
|
||||||
@override_flag("domain_renewal", active=True)
|
@override_flag("domain_renewal", active=True)
|
||||||
def test_domain_renewal_sidebar_and_form(self):
|
def test_domain_renewal_form_and_sidebar(self):
|
||||||
self.client.force_login(self.user)
|
self.client.force_login(self.user)
|
||||||
with patch.object(Domain, "is_expiring", self.custom_is_expiring), patch.object(
|
with patch.object(Domain, "is_expiring", self.custom_is_expiring), patch.object(
|
||||||
Domain, "is_expired", self.custom_is_expired
|
Domain, "is_expired", self.custom_is_expired
|
||||||
|
@ -608,8 +608,7 @@ class TestDomainDetailDomainRenewal(TestDomainOverview):
|
||||||
# Simulate clicking on edit button
|
# Simulate clicking on edit button
|
||||||
edit_page = renewal_page.click(href=edit_button_url, index=1)
|
edit_page = renewal_page.click(href=edit_button_url, index=1)
|
||||||
self.assertEqual(edit_page.status_code, 200)
|
self.assertEqual(edit_page.status_code, 200)
|
||||||
self.assertContains(edit_page, "Domain managers can update all information related to a domain")
|
self.assertContains(edit_page, "Domain managers can update all information related to a domain"
|
||||||
|
|
||||||
|
|
||||||
class TestDomainManagers(TestDomainOverview):
|
class TestDomainManagers(TestDomainOverview):
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue