With addCleanup() f.close() was executed after tearDown().
Attach a file by drag & drop or click to upload