Re: zope-tests - FAILED: 5, OK: 12
Marius Gedminas <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <20130916105032.GA11184@platonas> |
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
_______________________________________________
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 )
signature.asc
(application/pgp-signature, 190 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQFSNuJ4kVdEXeem148RAjTWAJ9IkNUojLOauS10lj0kohSaDyaq1gCghVB7 JaJ0cU2dsL8ohfq3vcccxnI= =+0Su -----END PGP SIGNATURE-----