[Checkins] [zopefoundation/zope.testbrowser] 1b5259: Really truly stop guessing MIME types in add_file

GitHub noreply at github.com
Fri Sep 20 17:33:40 CEST 2013


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.testbrowser
  Commit: 1b525936ef5095b719e12a633ee283ebc5802c0e
      https://github.com/zopefoundation/zope.testbrowser/commit/1b525936ef5095b719e12a633ee283ebc5802c0e
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2013-09-20 (Fri, 20 Sep 2013)

  Changed paths:
    M setup.py
    M src/zope/testbrowser/tests/test_browser.py

  Log Message:
  -----------
  Really truly stop guessing MIME types in add_file

Require WebTest that doesn't ignore the content_type of an Upload object
attached to a File field.

Fix the test to actually assert that our custom content type was used in
the upload.





More information about the checkins mailing list