[Zope-dev] zope-tests - FAILED: 5, OK: 12

Marius Gedminas marius at gedmin.as
Mon Sep 16 12:50:32 CEST 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://mail.zope.org/pipermail/zope-dev/attachments/20130916/4198e5f5/attachment.sig>


More information about the Zope-Dev mailing list