[Testbot] FAILED (failures=8, errors=2) : Plone-4.0 Zope-2.12 Python-2.6.2

Plone Products Tests plone-tests at epy.co.at
Sat Oct 10 02:45:50 UTC 2009


Plone Products Tests : FAILED (failures=8, errors=2) 
Plone-4.0 Zope-2.12 Python-2.6.2

Running /usr/local/python2.6/bin/python ./bin/test -q --no-color --no-progress --package Products.CMFPlone --package Products.CMFDynamicViewFTI --package Products.CMFFormController --package Products.CMFQuickInstallerTool --package Products.ExtendedPathIndex --package Products.PasswordResetTool --package Products.PloneLanguageTool --package Products.ResourceRegistries --package Products.statusmessages
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.847 seconds.
  Ran 162 tests with 0 failures and 0 errors in 0.866 seconds.
Running Products.CMFTestCase.layer.CMFSite tests:
  Set up Products.CMFTestCase.layer.ZCML in 2.673 seconds.
  Set up Products.CMFTestCase.layer.CMFSite in 0.250 seconds.
  Ran 84 tests with 0 failures and 0 errors in 3.020 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Tear down Products.CMFTestCase.layer.CMFSite in 0.042 seconds.
  Tear down Products.CMFTestCase.layer.ZCML in 0.003 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 1.500 seconds.
  Ran 12 tests with 0 failures and 0 errors in 0.017 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite in 5.114 seconds.


Failure in test testBrowserDefaultMixinFileViewMethodGetsTemplate (Products.CMFPlone.tests.testBrowserDefault.TestPloneToolBrowserDefault)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testBrowserDefault.py", line 127, in testBrowserDefaultMixinFileViewMethodGetsTemplate
    self.compareLayoutVsView(self.portal.atctfile, path="/view")
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testBrowserDefault.py", line 68, in compareLayoutVsView
    self.fail("\n".join([line for line in diff]))
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 317, in fail
    raise self.failureException, msg
AssertionError: ---  

+++  

@@ -130,6 +130,9 @@

     <h5 class="hiddenStructure">Sections</h5>
 
     
+      </div>
+
+    </div>
 
 	</div>
 </div>



Failure in test testCallWithBrowserDefaultMixinGetsSelectedLayout (Products.CMFPlone.tests.testBrowserDefault.TestPloneToolBrowserDefault)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testBrowserDefault.py", line 122, in testCallWithBrowserDefaultMixinGetsSelectedLayout
    self.compareLayoutVsView(self.portal.atctdocument, path="")
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testBrowserDefault.py", line 68, in compareLayoutVsView
    self.fail("\n".join([line for line in diff]))
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 317, in fail
    raise self.failureException, msg
AssertionError: ---  

+++  

@@ -130,6 +130,9 @@

     <h5 class="hiddenStructure">Sections</h5>
 
     
+      </div>
+
+    </div>
 
 	</div>
 </div>



Failure in test testViewMethodWithBrowserDefaultMixinGetsSelectedLayout (Products.CMFPlone.tests.testBrowserDefault.TestPloneToolBrowserDefault)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testBrowserDefault.py", line 119, in testViewMethodWithBrowserDefaultMixinGetsSelectedLayout
    self.compareLayoutVsView(self.portal.atctdocument, path="/view")
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testBrowserDefault.py", line 68, in compareLayoutVsView
    self.fail("\n".join([line for line in diff]))
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 317, in fail
    raise self.failureException, msg
AssertionError: ---  

+++  

@@ -130,6 +130,9 @@

     <h5 class="hiddenStructure">Sections</h5>
 
     
+      </div>
+
+    </div>
 
 	</div>
 </div>



Failure in test testCustomBrowserLayerHasPrecedenceOverDefaultLayer (Products.CMFPlone.tests.testBrowserLayerPrecedence.TestBrowserLayerPrecedence)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testBrowserLayerPrecedence.py", line 34, in testCustomBrowserLayerHasPrecedenceOverDefaultLayer
    self.failUnless(iro.index(IAdditiveLayer) < iro.index(IDefaultBrowserLayer))
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 325, in failUnless
    if not expr: raise self.failureException, msg
AssertionError



Error in test testThemeSpecificLayerTakesHighestPrecedence (Products.CMFPlone.tests.testBrowserLayerPrecedence.TestBrowserLayerPrecedence)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testBrowserLayerPrecedence.py", line 44, in testThemeSpecificLayerTakesHighestPrecedence
    self.failUnless(iro.index(IThemeSpecific) < iro.index(IAdditiveLayer),
ValueError: list.index(x): x not in list

/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PortalTransforms/Products/PortalTransforms/libtransforms/commandtransform.py:97: DeprecationWarning: os.popen4 is deprecated.  Use the subprocess module.
  cin, couterr = os.popen4(command, 'b')


Error in test testNoMembershipToolPloneSetupAction (Products.CMFPlone.tests.testPortalCreation.TestPortalCreation)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/testPortalCreation.py", line 477, in testNoMembershipToolPloneSetupAction
    self.failUnless(self.actions.getActionInfo('user/plone_setup'))
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.CMFCore/Products/CMFCore/ActionProviderBase.py", line 147, in getActionInfo
    raise AccessControl_Unauthorized('You are not allowed to access any '
Unauthorized: You are not allowed to access any of the specified Actions.



Failure in test /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt
Failed doctest test for LoginAndLogout.txt
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 17, in LoginAndLogout.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/login_form'
Got:
    'http://nohost/plone/login_form?came_from=http://nohost/plone/'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 31, in LoginAndLogout.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/login_form'
Got:
    'http://nohost/plone/login_form?came_from=http://nohost/plone'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/LoginAndLogout.txt", line 151, in LoginAndLogout.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/login_form'
Got:
    'http://nohost/plone/login_form?came_from=http://nohost/plone/'



Failure in test /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt
Failed doctest test for mails.txt
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Plone/Products/CMFPlone/tests/mails.txt", line 57, in mails.txt
Failed example:
    b64decode(msg.message.get_payload())
Expected:
    '...You are receiving this mail because T\xc3\xa4st user\ntest at plone.test...is sending feedback about the site administered by you at...The message sent was:...Another t\xc3\xa4st message...
Got:
    'b\x8b\x9a\xad\xea\xdeq\xe8\xaf\x8ax-\x86+&j)[y\xc6\xae\xb1\xe4'



Failure in test /home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt
Failed doctest test for browser.txt
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 128, in browser.txt
Failed example:
    browser.url
Expected:
    'http://nohost/plone/login_form'
Got:
    'http://nohost/plone/login_form?came_from=http://nohost/plone/join_form'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 288, in browser.txt
Failed example:
    browser.getLink('Register').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.txt[line 288, example 98]>", line 1, in <module>
        browser.getLink('Register').click()
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 289, in browser.txt
Failed example:
    browser.getControl(name='username').value = 'bsmith'
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.txt[line 289, example 99]>", line 1, in <module>
        browser.getControl(name='username').value = 'bsmith'
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'username'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 290, in browser.txt
Failed example:
    browser.getControl(name='email').value = 'bsmith at example.com'
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.txt[line 290, example 100]>", line 1, in <module>
        browser.getControl(name='email').value = 'bsmith at example.com'
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'email'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 301, in browser.txt
Failed example:
    browser.getControl(name='form.button.Register').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.txt[line 301, example 102]>", line 1, in <module>
        browser.getControl(name='form.button.Register').click()
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'form.button.Register'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 302, in browser.txt
Failed example:
    "You have been registered" in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 308, in browser.txt
Failed example:
    len(mailhost.messages)
Expected:
    2
Got:
    1
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 315, in browser.txt
Failed example:
    "To: bsmith at example.com" in msg
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 318, in browser.txt
Failed example:
    please_visit_text in msg
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 320, in browser.txt
Failed example:
    url_index = msg.index(please_visit_text) + len(please_visit_text)
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.txt[line 320, example 110]>", line 1, in <module>
        url_index = msg.index(please_visit_text) + len(please_visit_text)
    ValueError: substring not found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 327, in browser.txt
Failed example:
    browser.open(address)
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.txt[line 327, example 113]>", line 1, in <module>
        browser.open(address)
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 239, in open
        self.mech_browser.open(url, data)
      File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 209, in open
      File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 261, in _mech_open
    HTTPError: HTTP Error 500: Internal Server Error
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 328, in browser.txt
Failed example:
    "Please fill out the form below to set your password" in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 330, in browser.txt
Failed example:
    browser.getControl(name='password').value = 'secret'
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.txt[line 330, example 115]>", line 1, in <module>
        browser.getControl(name='password').value = 'secret'
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 331, in browser.txt
Failed example:
    browser.getControl(name='password2').value = 'secret'
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.txt[line 331, example 116]>", line 1, in <module>
        browser.getControl(name='password2').value = 'secret'
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: name 'password2'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 332, in browser.txt
Failed example:
    browser.getControl("Set my password").click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.txt[line 332, example 117]>", line 1, in <module>
        browser.getControl("Set my password").click()
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 366, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 54, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Set my password'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 333, in browser.txt
Failed example:
    "Your password has been set successfully." in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 342, in browser.txt
Failed example:
    "You are now logged in" in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 347, in browser.txt
Failed example:
    browser.getLink('Log out').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testing-3.7.7-py2.6.egg/zope/testing/doctest.py", line 1361, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.txt[line 347, example 124]>", line 1, in <module>
        browser.getLink('Log out').click()
      File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/eggs/zope.testbrowser-3.6.0a2-py2.6.egg/zope/testbrowser/browser.py", line 327, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "build/bdist.linux-x86_64/egg/mechanize/_mechanize.py", line 626, in find_link
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 348, in browser.txt
Failed example:
    "You are now logged out" in browser.contents
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.PasswordResetTool/Products/PasswordResetTool/tests/browser.txt", line 396, in browser.txt
Failed example:
    len(mailhost.messages)
Expected:
    3
Got:
    2



Failure in test testCachingHeadersFromTool (Products.ResourceRegistries.tests.testCSSRegistry.TestCachingHeaders)
Traceback (most recent call last):
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File "/home/stefan/autotest/temp/python26-zope212-cmf22-plone40/src/Products.ResourceRegistries/Products/ResourceRegistries/tests/testCSSRegistry.py", line 1027, in testCachingHeadersFromTool
    self.assertEqual(response.getHeader('Expires'), rfc1123_date(soon.timeTime()))
  File "/usr/local/python2.6/lib/python2.6/unittest.py", line 350, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: 'Sat, 17 Oct 2009 02:16:18 GMT' != 'Sat, 17 Oct 2009 02:16:19 GMT'

  Ran 1373 tests with 8 failures and 2 errors in 3 minutes 27.964 seconds.
Running zope.testing.testrunner.layer.UnitTests tests:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.302 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.014 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 129 tests with 0 failures and 0 errors in 0.054 seconds.
Tearing down left over layers:
  Tear down zope.testing.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1760 tests, 8 failures, 2 errors in 3 minutes 43.790 seconds.

FAILED (failures=8, errors=2) 




More information about the Testbot mailing list