Skip to content

Commit

Permalink
Fixes reference to renamed view
Browse files Browse the repository at this point in the history
  • Loading branch information
mouse-reeve committed Jul 11, 2022
1 parent 42e29e4 commit 9104d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bookwyrm/tests/views/preferences/test_export.py
Expand Up @@ -56,7 +56,7 @@ def test_export_file(self, *_):
)
request = self.factory.post("")
request.user = self.local_user
export = views.export_user_book_data(request)
export = views.Export.as_view()(request)
self.assertIsInstance(export, StreamingHttpResponse)
self.assertEqual(export.status_code, 200)
result = list(export.streaming_content)
Expand Down

0 comments on commit 9104d1f

Please sign in to comment.