[Testbot] Plone 5.1 - Python 2.7 - Archetypes - Build # 1570 - Failure!

jenkins at plone.org jenkins at plone.org
Mon Feb 27 14:41:30 UTC 2017


Plone 5.1 - Python 2.7 - Archetypes - Build # 1570 - Failure:

Check console output at http://jenkins.plone.org/job/plone-5.1-python-2.7-at/1570/ to view the results.

Changes:

[Maurits van Rees] Pin nt-svcutils.







Test Results:

2 tests failed.
FAILED:  Products.PortalTransforms.tests.test_transforms.SafeHtmlTransformsWithScriptTest.test_entities_outside_script

Error Message:
'<code>a > 0 && b </code>' != '<code>a > 0 && b < 1</code>'

Stack Trace:
'<code>a > 0 && b </code>' != '<code>a > 0 && b < 1</code>'

  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.1-python-2.7-at/src/Products.PortalTransforms/Products/PortalTransforms/tests/test_transforms.py", line 240, in test_entities_outside_script
    self.assertEqual(data.getData(), escaped)
  File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  Products.PortalTransforms.tests.test_xss.TestXSSFilter.test_22

Error Message:
'<script>alert("XSS");</script>' != 'script>alert("XSS");/script>'

Stack Trace:
'<script>alert("XSS");</script>' != 'script>alert("XSS");/script>'

  File "/usr/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/home/jenkins/workspace/plone-5.1-python-2.7-at/src/Products.PortalTransforms/Products/PortalTransforms/tests/test_xss.py", line 136, in test_22
    self.doTest(data_in, data_out)
  File "/home/jenkins/workspace/plone-5.1-python-2.7-at/src/Products.PortalTransforms/Products/PortalTransforms/tests/test_xss.py", line 14, in doTest
    self.assertEqual(data_out, html.getData())
  File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
    raise self.failureException(msg)





More information about the Testbot mailing list