Skip to content

tests: makeFileUpload: Use unittest addCleanup() to close files rather than tearDown()

Arnaud Fontaine requested to merge makeFileUpload-addCleanup into master

@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.

Edited by Arnaud Fontaine

Merge request reports