[Zope-tests] FAILED (failures=1) : Zope-trunk Python-2.4.4 : Linux

Zope Tests zope-tests at epy.co.at
Thu May 29 21:06:41 EDT 2008


Zope Tests : FAILED (failures=1)
Zope-trunk Python-2.4.4 : Linux

Running /usr/local/python2.4/bin/python test.py -q --all
Running unit tests:
The following test left new threads behind:
testABOR (zope.server.ftp.tests.test_ftpserver.Tests)
New thread(s): [<_DummyThread(Dummy-36, started daemon)>]
  Ran 5821 tests with 0 failures and 0 errors in 5 minutes 3.104 seconds.
Running OFS.tests.testCopySupportEvents.EventLayer tests:
  Set up OFS.tests.testCopySupportEvents.EventLayer in 1.146 seconds.
  Ran 14 tests with 0 failures and 0 errors in 0.387 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Tear down OFS.tests.testCopySupportEvents.EventLayer in 0.006 seconds.
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Ran 624 tests with 0 failures and 0 errors in 41.582 seconds.
Running Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer tests:
  Set up Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.255 seconds.
  Ran 16 tests with 0 failures and 0 errors in 0.483 seconds.
Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
  Tear down Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.004 seconds.
  Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.004 seconds.
  Ran 18 tests with 0 failures and 0 errors in 0.135 seconds.
Running Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests:
  Tear down Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in 0.004 seconds.
  Set up Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.003 seconds.
  Ran 2 tests with 0 failures and 0 errors in 0.020 seconds.
Running zope.formlib.tests.FormlibLayer tests:
  Tear down Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in 0.003 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.formlib.tests.FormlibLayer in 1.455 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.014 seconds.
Running zope.testbrowser.tests.TestBrowserLayer tests:
  Tear down zope.formlib.tests.FormlibLayer in 0.008 seconds.
  Set up zope.testbrowser.tests.TestBrowserLayer in 1.446 seconds.


Failure in test /home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/over_the_wire.txt
Failed doctest test for over_the_wire.txt
  File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/over_the_wire.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/over_the_wire.txt", line 33, in over_the_wire.txt
Failed example:
    browser.getControl('Google Search').click()
Expected:
    Traceback (most recent call last):
    ...
    httperror_seek_wrapper: HTTP Error 403: request disallowed by robots.txt
Got:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest over_the_wire.txt[7]>", line 1, in ?
        browser.getControl('Google Search').click()
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/browser.py", line 591, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/browser.py", line 380, in _clickSubmit
        self.mech_browser.open(form.click(
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_mechanize.py", line 177, in open
        return self._mech_open(url, data)
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/mechanize/_mechanize.py", line 219, in _mech_open
        raise error
    RobotExclusionError: HTTP Error 403: request disallowed by robots.txt

  Ran 108 tests with 1 failures and 0 errors in 2.940 seconds.
Running zope.traversing.tests.layer.TraversingLayer tests:
  Tear down zope.testbrowser.tests.TestBrowserLayer in 0.008 seconds.
  Set up zope.traversing.tests.layer.TraversingLayer/home/stefan/autotest/temp/python24-zope212/lib/python/zope/configuration/config.py:197: DeprecationWarning: ZopeSecurityPolicy is deprecated. It has moved to zope.securitypolicy.zopepolicy  This reference will be removed somedays
  obj = getattr(mod, oname)
 in 1.247 seconds.
  Ran 7 tests with 0 failures and 0 errors in 0.494 seconds.
Tearing down left over layers:
  Tear down zope.traversing.tests.layer.TraversingLayer in 0.008 seconds.
Total: 6615 tests, 1 failures, 0 errors in 1 minutes 4.476 seconds.

FAILED (failures=1)


More information about the Zope-tests mailing list