mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-26 01:24:49 +00:00
Fixed python 3 error
This commit is contained in:
parent
abce45477e
commit
78cbf657dc
1 changed files with 1 additions and 1 deletions
|
|
@ -550,7 +550,7 @@ class TestMultipleImageUploader(TestCase, WagtailTestUtils):
|
|||
This tests that the add view checks for a file when a user POSTs to it
|
||||
"""
|
||||
response = self.client.post(reverse('wagtailimages_add_multiple'), {
|
||||
'files[]': SimpleUploadedFile('test.png', "This is not an image!"),
|
||||
'files[]': SimpleUploadedFile('test.png', b"This is not an image!"),
|
||||
}, HTTP_X_REQUESTED_WITH='XMLHttpRequest')
|
||||
|
||||
# Check response
|
||||
|
|
|
|||
Loading…
Reference in a new issue