[Zope-CMF] cmf-tests - OK: 2, UNKNOWN: 2

yuppie y.2012 at wcm-solutions.de
Wed Apr 11 14:03:45 UTC 2012


Hi Charlie!


Charlie Clark wrote:
> Am 11.04.2012, 03:00 Uhr, schrieb CMF tests summarizer <noreply at zope.org>:
>
>> [1] UNKNOWN FAILED (failures=1) : CMF-trunk Zope-2.13 Python-2.6.6 :
>> Linux
>> https://mail.zope.org/pipermail/cmf-tests/2012-April/016076.html
>> [2] UNKNOWN FAILED (failures=1) : CMF-trunk Zope-trunk Python-2.6.6 :
>> Linux
>> https://mail.zope.org/pipermail/cmf-tests/2012-April/016077.html
>
> I noticed this the other day but thought it might be related to my
> configuration. Even though I'm on Python 2.6.7
>
> Failure in test test_parseHeadersBody_embedded_blank_line
> (Products.CMFDefault.tests.test_utils.DefaultUtilsTests)
> Traceback (most recent call last):
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/unittest.py",
> line 279, in run
> testMethod()
> File
> "/Users/charlieclark/Sites/CMF/src/Products.CMFDefault/Products/CMFDefault/tests/test_utils.py",
> line 85, in test_parseHeadersBody_embedded_blank_line
> self.assertEqual( desc_len, 3, desc_lines )
> File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/unittest.py",
> line 350, in failUnlessEqual
> (msg or '%r != %r' % (first, second))
> AssertionError: ['this description spans multiple lines.']
>
> This is weird because all of a sudden blank lines in headers are being
> treated as separators, as they should. Why wasn't the test failing earlier?

It wasn't a blank line. You removed whitespace in rev 125119:

> Modified: Products.CMFDefault/trunk/Products/CMFDefault/tests/test_utils.py
> ===================================================================
> --- Products.CMFDefault/trunk/Products/CMFDefault/tests/test_utils.py	2012-04-09 16:16:46 UTC (rev 125118)
> +++ Products.CMFDefault/trunk/Products/CMFDefault/tests/test_utils.py	2012-04-09 16:30:40 UTC (rev 125119)
> @@ -27,7 +27,7 @@
>
>      MULTIPARAGRAPH_DESCRIPTION = \
>          '''Description: this description spans multiple lines.
> -
> +
>          It includes a second paragraph'''

I can't reproduce the other failures.

Cheers, Yuppie


More information about the Zope-CMF mailing list