mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-16 05:06:32 +00:00
Removes duplicate assertions in author view test
This commit is contained in:
parent
72dc21e82a
commit
278a9de673
1 changed files with 0 additions and 3 deletions
|
@ -61,7 +61,6 @@ class AuthorViews(TestCase):
|
|||
self.assertIsInstance(result, TemplateResponse)
|
||||
validate_html(result.render())
|
||||
self.assertEqual(result.status_code, 200)
|
||||
self.assertEqual(result.status_code, 200)
|
||||
|
||||
def test_author_page_logged_out(self):
|
||||
"""there are so many views, this just makes sure it LOADS"""
|
||||
|
@ -75,7 +74,6 @@ class AuthorViews(TestCase):
|
|||
self.assertIsInstance(result, TemplateResponse)
|
||||
validate_html(result.render())
|
||||
self.assertEqual(result.status_code, 200)
|
||||
self.assertEqual(result.status_code, 200)
|
||||
|
||||
def test_author_page_api_response(self):
|
||||
"""there are so many views, this just makes sure it LOADS"""
|
||||
|
@ -101,7 +99,6 @@ class AuthorViews(TestCase):
|
|||
self.assertIsInstance(result, TemplateResponse)
|
||||
validate_html(result.render())
|
||||
self.assertEqual(result.status_code, 200)
|
||||
self.assertEqual(result.status_code, 200)
|
||||
|
||||
def test_edit_author(self):
|
||||
"""edit an author"""
|
||||
|
|
Loading…
Reference in a new issue