tests: use PicklableUpload in test that requires copying structure (#36515)
This commit is contained in:
parent
9cf9355463
commit
4f488c1d57
|
@ -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()()
|
||||
|
|
Loading…
Reference in New Issue