Use HTTP post for csv export
Also fixes a missing translation string
This commit is contained in:
parent
bead43a20a
commit
42e29e40b3
5 changed files with 34 additions and 38 deletions
|
@ -54,7 +54,7 @@ class ExportViews(TestCase):
|
|||
user=self.local_user,
|
||||
book=self.book,
|
||||
)
|
||||
request = self.factory.get("")
|
||||
request = self.factory.post("")
|
||||
request.user = self.local_user
|
||||
export = views.export_user_book_data(request)
|
||||
self.assertIsInstance(export, StreamingHttpResponse)
|
Loading…
Add table
Add a link
Reference in a new issue