tests: use PicklableUpload in test that requires copying structure (#36515)

This commit is contained in:
Frédéric Péters 2019-11-19 09:17:04 +01:00
parent 9cf9355463
commit 4f488c1d57
1 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ def test_backoffice_field_varname(pub):
assert substvars.get('form_var_backoffice_blah') == 'test'
def test_workflow_data_file_url(pub):
upload = Upload('test.txt', 'text/plain', 'ascii')
upload = PicklableUpload('test.txt', 'text/plain', 'ascii')
upload.receive([b'first line', b'second line'])
formdata = formdef.data_class()()