mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 19:20:47 +02:00
ran app black .
This commit is contained in:
parent
e8fede74ac
commit
c7af6645d4
1 changed files with 4 additions and 4 deletions
|
@ -464,7 +464,7 @@ class TestDomainDetailDomainRenewal(TestDomainOverview):
|
||||||
|
|
||||||
def custom_is_expired_true(self):
|
def custom_is_expired_true(self):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def custom_is_expiring(self):
|
def custom_is_expiring(self):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@ -570,12 +570,12 @@ class TestDomainDetailDomainRenewal(TestDomainOverview):
|
||||||
|
|
||||||
self.assertEqual(response.status_code, 200)
|
self.assertEqual(response.status_code, 200)
|
||||||
self.assertContains(response, f"Renew {self.domaintorenew.name}")
|
self.assertContains(response, f"Renew {self.domaintorenew.name}")
|
||||||
|
|
||||||
@override_flag("domain_renewal", active=True)
|
@override_flag("domain_renewal", active=True)
|
||||||
def test_domain_renewal_form_and_sidebar_expired(self):
|
def test_domain_renewal_form_and_sidebar_expired(self):
|
||||||
|
|
||||||
self.client.force_login(self.user)
|
self.client.force_login(self.user)
|
||||||
|
|
||||||
with patch.object(Domain, "is_expired", self.custom_is_expired_true), patch.object(
|
with patch.object(Domain, "is_expired", self.custom_is_expired_true), patch.object(
|
||||||
Domain, "is_expired", self.custom_is_expired_true
|
Domain, "is_expired", self.custom_is_expired_true
|
||||||
):
|
):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue