Fixes book view test

This commit is contained in:
Mouse Reeve 2021-05-18 11:36:50 -07:00
parent 04c165113f
commit 3d7f3f34c1

View file

@ -59,7 +59,6 @@ class BookViews(TestCase):
result.render()
self.assertEqual(result.status_code, 200)
request = self.factory.get("")
with patch("bookwyrm.views.books.is_api_request") as is_api:
is_api.return_value = True
result = view(request, self.book.id)