We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
UserProfileTests.test_username_is_page_title
1 parent a55a0f5 commit 9a180f1Copy full SHA for 9a180f1
accounts/tests.py
@@ -24,7 +24,7 @@ def setUpTestData(cls):
24
25
def test_username_is_page_title(self):
26
response = self.client.get(self.user1_url)
27
- self.assertContains(response, "<h1>user1</h1>", html=True)
+ self.assertContains(response, '<h1 class="name">user1</h1>', html=True)
28
29
def test_stat_commits(self):
30
Revision.objects.create(
0 commit comments