@jerome Here is a merge request for makeFileUpload() changes from zope4py3 branch. I modified a bit the code to avoid code duplication and move makeFileUpload to ERP5TypeTestCase class as it's used here and there. All Unit and Coding tests pass.