On Mon, Sep 16, 2013 at 01:00:01AM +0200, Zope tests summarizer wrote: > [1] winbot / zope.app.authentication_py_265_32 > [2] winbot / zope.app.http_py_265_32 > [3] winbot / zope.app.publication_py_265_32 > [4] winbot / zope.app.wsgi_py_265_32
WebTest version conflict
> [5] winbot / zope.testbrowser_py_265_32
Interesting new error:
Failure in test test_file_upload (zope.testbrowser.tests.test_browser)
Failed doctest test for zope.testbrowser.tests.test_browser.test_file_upload
File
"c:\buildslave\zope.testbrowser\build\src\zope\testbrowser\tests\test_browser.py",
line 324, in test_file_upload
----------------------------------------------------------------------
File
"c:\buildslave\zope.testbrowser\build\src\zope\testbrowser\tests\test_browser.py",
line 358, in zope.testbrowser.tests.test_browser.test_file_upload
Failed example:
browser.getControl('OK').click() # doctest: +REPORT_NDIFF +ELLIPSIS
Differences (ndiff with -expected +actual):
POST / HTTP/1.1
- ...
- Content-disposition: form-data; name="foo"; filename="x.csv"
- Content-type: text/csv
+ Connection: close
+ Host: localhost
+ Referer: http://localhost/
+ User_Agent: Python-urllib/2.4
+ X_Zope_Handle_Errors: True
<BLANKLINE>
+ ------------------------------
+ Content-disposition: form-data; name="foo"; filename="x.csv"
+ Content-type: application/octet-stream
+
- blah blah blah
+ blah blah blah
? +
- ...
+ ------------------------------
+ <BLANKLINE>
Ran 39 tests with 1 failures, 0 errors and 0 skipped in 1.328 seconds.
At first I suspected Windows line endings, but look closer:
- Content-type: text/csv
+ Content-type: application/octet-stream
Any ideas?
Marius Gedminas
--
http://pov.lt/ -- Zope 3/BlueBream consulting and development
signature.asc
Description: Digital signature
_______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )
