[Testbot] FAILED (failures=13) : AT-trunk Plone-trunk Zope-trunk Python-2.4.6

Archetypes Tests plone-tests at epy.co.at
Sat Feb 14 05:53:36 UTC 2009


Archetypes Tests : FAILED (failures=13) 
AT-trunk Plone-trunk Zope-trunk Python-2.4.6

Running /usr/local/python2.4/bin/python ./bin/test --package Products.Archetypes --package Products.MimetypesRegistry --package Products.PortalTransforms --package Products.validation
Running Products.Archetypes.tests.layer.ZCML tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.222 seconds.
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.630 seconds.
  Set up Products.Archetypes.tests.layer.ZCML in 0.746 seconds.
  Ran 52 tests with 0 failures and 0 errors in 2.532 seconds.
Running Products.Archetypes.tests.layer.ArchetypesSite tests:
  Set up Products.Archetypes.tests.layer.ArchetypesSite in 3.601 seconds.
/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_classgen.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_annotation.AnnDummy.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)


Failure in test test_searchableText (Products.Archetypes.tests.test_baseobject.BaseObjectTest)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_baseobject.py", line 87, in test_searchableText
    '1 2 Option 1 : printemps Option 2 : \xc3\xa9t\xc3\xa9')
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '1 2 Option 1 : printemps [[plone][Option 2 : \xc3\xa9t\xc3\xa9]]' != '1 2 Option 1 : printemps Option 2 : \xc3\xa9t\xc3\xa9'



Failure in test testSame (Products.Archetypes.tests.test_baseunit.BaseUnitTestSubclass)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_baseunit.py", line 70, in testSame
    self.assertEqual(got, expected)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<h2 class="title">Heading 1</h2><p>Some text.</p><div class="section" id="heading-2"><h3>Heading 2</h3><p>Some text, bla ble bli blo blu. Yes, i know this is<a class="reference external" href="http://www.example.com">Stupid</a>.</p></div>' != '<h2 class="title">Heading 1</h2><p>Some text.</p><div class="section"><h3><a id="heading-2" name="heading-2">Heading 2</a></h3><p>Some text, bla ble bli blo blu. Yes, i know this is<a class="reference" href="http://www.example.com">Stupid</a>.</p></div>'



Failure in test testSame (Products.Archetypes.tests.test_baseunit.BaseUnitTestSubclass)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_baseunit.py", line 70, in testSame
    self.assertEqual(got, expected)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: '<h2 class="title">Title</h2><h3 class="subtitle">Subtitle</h3><p>This is a test document to make sure subtitle gets the right heading.</p><div class="section" id="now-the-real-heading"><h3>Now the real heading</h3><p>The brown fox jumped over the lazy dog.</p><div class="section" id="with-a-subheading"><h4>With a subheading</h4><p>Some text, bla ble bli blo blu. Yes, i know this is<a class="reference external" href="http://www.example.com">Stupid</a>.</p></div></div>' != '<h2 class="title">Title</h2><h3 class="subtitle">Subtitle</h3><p>This is a test document to make sure subtitle gets the right heading.</p><div class="section"><h3><a id="now-the-real-heading" name="now-the-real-heading">Now the real heading</a></h3><p>The brown fox jumped over the lazy dog.</p><div class="section"><h4><a id="with-a-subheading" name="with-a-subheading">With a subheading</a></h4><p>Some text, bla ble bli blo blu. Yes, i know this is<a class="reference" href="http://www.exampl!
 e.com">Stupid</a>.</p></div></div>'

/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Zope2/src/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_event.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)


Failure in test testSame (Products.PortalTransforms.tests.test_transforms.TransformTestSubclass)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.PortalTransforms/Products/PortalTransforms/tests/test_transforms.py", line 72, in testSame
    self.do_convert(filename=self.input)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.PortalTransforms/Products/PortalTransforms/tests/test_transforms.py", line 63, in do_convert
    '[%s]\n\n!=\n\n[%s]\n\nIN %s(%s)' % (
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: [<h2 class="title">Heading 1</h2><p>Some text.</p><div class="section" id="heading-2"><h3>Heading 2</h3><p>Some text, bla ble bli blo blu. Yes, i know this is<a class="reference external" href="http://www.example.com">Stupid</a>.</p></div>]

!=

[<h2 class="title">Heading 1</h2><p>Some text.</p><div class="section"><h3><a id="heading-2" name="heading-2">Heading 2</a></h3><p>Some text, bla ble bli blo blu. Yes, i know this is<a class="reference" href="http://www.example.com">Stupid</a>.</p></div>]

IN rest_to_html(/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.PortalTransforms/Products/PortalTransforms/tests/input/rest2.rst)



Failure in test testSameNoFilename (Products.PortalTransforms.tests.test_transforms.TransformTestSubclass)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.PortalTransforms/Products/PortalTransforms/tests/test_transforms.py", line 78, in testSameNoFilename
    self.do_convert()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.PortalTransforms/Products/PortalTransforms/tests/test_transforms.py", line 63, in do_convert
    '[%s]\n\n!=\n\n[%s]\n\nIN %s(%s)' % (
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: [<h2 class="title">Heading 1</h2><p>Some text.</p><div class="section" id="heading-2"><h3>Heading 2</h3><p>Some text, bla ble bli blo blu. Yes, i know this is<a class="reference external" href="http://www.example.com">Stupid</a>.</p></div>]

!=

[<h2 class="title">Heading 1</h2><p>Some text.</p><div class="section"><h3><a id="heading-2" name="heading-2">Heading 2</a></h3><p>Some text, bla ble bli blo blu. Yes, i know this is<a class="reference" href="http://www.example.com">Stupid</a>.</p></div>]

IN rest_to_html(/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.PortalTransforms/Products/PortalTransforms/tests/input/rest2.rst)



Failure in test testSame (Products.PortalTransforms.tests.test_transforms.TransformTestSubclass)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.PortalTransforms/Products/PortalTransforms/tests/test_transforms.py", line 72, in testSame
    self.do_convert(filename=self.input)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.PortalTransforms/Products/PortalTransforms/tests/test_transforms.py", line 63, in do_convert
    '[%s]\n\n!=\n\n[%s]\n\nIN %s(%s)' % (
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: [<h2 class="title">Title</h2><h3 class="subtitle">Subtitle</h3><p>This is a test document to make sure subtitle gets the right heading.</p><div class="section" id="now-the-real-heading"><h3>Now the real heading</h3><p>The brown fox jumped over the lazy dog.</p><div class="section" id="with-a-subheading"><h4>With a subheading</h4><p>Some text, bla ble bli blo blu. Yes, i know this is<a class="reference external" href="http://www.example.com">Stupid</a>.</p></div></div>]

!=

[<h2 class="title">Title</h2><h3 class="subtitle">Subtitle</h3><p>This is a test document to make sure subtitle gets the right heading.</p><div class="section"><h3><a id="now-the-real-heading" name="now-the-real-heading">Now the real heading</a></h3><p>The brown fox jumped over the lazy dog.</p><div class="section"><h4><a id="with-a-subheading" name="with-a-subheading">With a subheading</a></h4><p>Some text, bla ble bli blo blu. Yes, i know this is<a class="reference" href="http://www.example.com">Stupid</a>.</p></div></div>]

IN rest_to_html(/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.PortalTransforms/Products/PortalTransforms/tests/input/rest3.rst)



Failure in test testSameNoFilename (Products.PortalTransforms.tests.test_transforms.TransformTestSubclass)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.PortalTransforms/Products/PortalTransforms/tests/test_transforms.py", line 78, in testSameNoFilename
    self.do_convert()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.PortalTransforms/Products/PortalTransforms/tests/test_transforms.py", line 63, in do_convert
    '[%s]\n\n!=\n\n[%s]\n\nIN %s(%s)' % (
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: [<h2 class="title">Title</h2><h3 class="subtitle">Subtitle</h3><p>This is a test document to make sure subtitle gets the right heading.</p><div class="section" id="now-the-real-heading"><h3>Now the real heading</h3><p>The brown fox jumped over the lazy dog.</p><div class="section" id="with-a-subheading"><h4>With a subheading</h4><p>Some text, bla ble bli blo blu. Yes, i know this is<a class="reference external" href="http://www.example.com">Stupid</a>.</p></div></div>]

!=

[<h2 class="title">Title</h2><h3 class="subtitle">Subtitle</h3><p>This is a test document to make sure subtitle gets the right heading.</p><div class="section"><h3><a id="now-the-real-heading" name="now-the-real-heading">Now the real heading</a></h3><p>The brown fox jumped over the lazy dog.</p><div class="section"><h4><a id="with-a-subheading" name="with-a-subheading">With a subheading</a></h4><p>Some text, bla ble bli blo blu. Yes, i know this is<a class="reference" href="http://www.example.com">Stupid</a>.</p></div></div>]

IN rest_to_html(/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.PortalTransforms/Products/PortalTransforms/tests/input/rest3.rst)

  Ran 492 tests with 7 failures and 0 errors in 1 minutes 30.114 seconds.
Running Products.CMFTestCase.layer.ZCML tests:
  Tear down Products.Archetypes.tests.layer.ArchetypesSite in 0.141 seconds.
  Tear down Products.Archetypes.tests.layer.ZCML in 0.012 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.002 seconds.
  Set up Products.CMFTestCase.layer.ZCML in 1.099 seconds.


Failure in test testBFInterface (Products.Archetypes.tests.test_interfaces.InstanceInterfaceTest)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_interfaces.py", line 227, in <lambda>
    setattr(InstanceInterfaceTest, funcName, lambda self: self._testStuff())
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_interfaces.py", line 143, in _testStuff
    self.interfaceImplementedBy(self.instance, iface)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_interfaces.py", line 105, in interfaceImplementedBy
    self.fail('The instance of %s does not implement %s correctly: \n%s'
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 301, in fail
    raise self.failureException, msg
AssertionError: The instance of BF does not implement IContainer correctly: 
An object has failed to implement interface <InterfaceClass zope.container.interfaces.IContainer>

        The __delitem__ attribute was not provided.
        



Failure in test testOBFInterface (Products.Archetypes.tests.test_interfaces.InstanceInterfaceTest)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_interfaces.py", line 227, in <lambda>
    setattr(InstanceInterfaceTest, funcName, lambda self: self._testStuff())
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_interfaces.py", line 143, in _testStuff
    self.interfaceImplementedBy(self.instance, iface)
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_interfaces.py", line 105, in interfaceImplementedBy
    self.fail('The instance of %s does not implement %s correctly: \n%s'
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 301, in fail
    raise self.failureException, msg
AssertionError: The instance of OBF does not implement IContainer correctly: 
An object has failed to implement interface <InterfaceClass zope.container.interfaces.IContainer>

        The __delitem__ attribute was not provided.
        

  Ran 16 tests with 2 failures and 0 errors in 0.301 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down Products.CMFTestCase.layer.ZCML in 0.002 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.


Failure in test test_annotation (Products.Archetypes.tests.test_athistoryaware.ATHistoryAwareTests)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_athistoryaware.py", line 117, in test_annotation
    self.assertEqual(tuple(key1_history), expected)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: () != ('trout', 'python', 'python', 'python', 'eggs')



Failure in test test_annotationlifetime (Products.Archetypes.tests.test_athistoryaware.ATHistoryAwareTests)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_athistoryaware.py", line 129, in test_annotationlifetime
    self.assertEqual(tuple(key3_history), expected)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: () != (False, False, True, False, False)



Failure in test test_maxReturned (Products.Archetypes.tests.test_athistoryaware.ATHistoryAwareTests)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_athistoryaware.py", line 133, in test_maxReturned
    self.assertEqual(len(history), 2)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: 0 != 2



Failure in test test_simpleAttributes (Products.Archetypes.tests.test_athistoryaware.ATHistoryAwareTests)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope212-cmf22-plone40/src/Products.Archetypes/Products/Archetypes/tests/test_athistoryaware.py", line 110, in test_simpleAttributes
    self.assertEqual(tuple(foo_history), expected)
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 333, in failUnlessEqual
    raise self.failureException, \
AssertionError: () != ('mit', 'baz', 'baz', 'baz', 'bar')

  Ran 24 tests with 4 failures and 0 errors in 16.878 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 584 tests, 13 failures, 0 errors in 1 minutes 59.887 seconds.

FAILED (failures=13) 




More information about the Testbot mailing list