mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-02 16:02:15 +02:00
added more detail for test based on suggestion:
This commit is contained in:
parent
0d695584c4
commit
294fbee5c3
1 changed files with 2 additions and 2 deletions
|
@ -933,8 +933,8 @@ class UserProfileTests(TestWithUser, WebTest):
|
|||
self.assertNotContains(response, "Back to manage your domains")
|
||||
|
||||
@less_console_noise_decorator
|
||||
def test_domain_detail(self):
|
||||
"""test that domain detail view"""
|
||||
def test_domain_detail_contains_your_profile(self):
|
||||
"""Tests that the domain detail view contains 'your profile' rather than 'your contact information'"""
|
||||
response = self.client.get(reverse("domain", args=[self.domain.pk]))
|
||||
self.assertContains(response, "Your profile")
|
||||
self.assertNotContains(response, "Your contact information")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue