reformatted and updated test

This commit is contained in:
asaki222 2025-01-10 11:44:04 -05:00
parent 185c0222d3
commit 6b2123d0f3
No known key found for this signature in database
GPG key ID: C51913A3A09FDC03
2 changed files with 2 additions and 2 deletions

View file

@ -607,7 +607,7 @@ class TestDomainDetailDomainRenewal(TestDomainOverview):
renewal_page = self.app.get(reverse("domain-renewal", kwargs={"pk": self.domain_with_ip.id}))
# Verify we see "Your contact information" on the renewal form
self.assertContains(renewal_page, "Your contact information")
self.assertContains(renewal_page, "Your Contact Information")
# Verify that the "Edit" button for Your contact is there and links to correct URL
edit_button_url = reverse("user-profile")

View file

@ -315,7 +315,7 @@ class DomainRenewalView(DomainView):
"""Domain detail overview page."""
template_name = "domain_renewal.html"
def can_access_domain_via_portfolio(self, pk):
"""Most views should not allow permission to portfolio users.
If particular views allow permissions, they will need to override