From 4f488c1d575d47088d21fcd9cdf2e590d70f3427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 19 Nov 2019 09:17:04 +0100 Subject: [PATCH] tests: use PicklableUpload in test that requires copying structure (#36515) --- tests/test_formdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_formdata.py b/tests/test_formdata.py index cceeb22a0..a7370962e 100644 --- a/tests/test_formdata.py +++ b/tests/test_formdata.py @@ -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()()