When you have a form with a file field 'foo' that's not required, and you submit this form with a browser that's not testbrowser, the file field 'foo' will end up in request.form, with key 'form.foo' and value u''. If you submit it with testbrowser, the file will be completely missing from request.form though. This is an imcompatibility which makes it hard to fully test non-required file fields with testbrowser.
Status: Pending => Accepted
Supporters added: benji
When you have a form with a file field 'foo' that's not required, and you submit this form with a browser that's not testbrowser, the file field 'foo' will end up in request.form, with key 'form.foo' and value u''. If you submit it with testbrowser, the file will be completely missing from request.form though. This is an imcompatibility which makes it hard to fully test non-required file fields with testbrowser.