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

Zope Tests zope-tests at epy.co.at
Mon Mar 24 21:58:23 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 5802 tests with 0 failures and 0 errors in 3 minutes 26.890 seconds.
Running OFS.tests.testCopySupportEvents.EventLayer tests:
  Set up OFS.tests.testCopySupportEvents.EventLayer in 0.583 seconds.
  Ran 14 tests with 0 failures and 0 errors in 0.154 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 671 tests with 0 failures and 0 errors in 27.244 seconds.
Running Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer tests:
  Set up Testing.ZopeTestCase.testShoppingCart.ShoppingCartLayer in 0.229 seconds.
  Ran 16 tests with 0 failures and 0 errors in 0.496 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.121 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.021 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.449 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.007 seconds.
  Set up zope.testbrowser.tests.TestBrowserLayer in 1.398 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 21, in over_the_wire.txt
Failed example:
    browser.open('http://google.com/ncr')
Exception raised:
    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[3]>", line 1, in ?
        browser.open('http://google.com/ncr')
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/browser.py", line 224, in open
        self.mech_browser.open(url, data)
      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
    HTTPError: HTTP Error 302: The HTTP server returned a redirect error that would lead to an infinite loop.
    The last 30x error message was:
    Found
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/over_the_wire.txt", line 22, in over_the_wire.txt
Failed example:
    browser.url
Expected:
    'http://www.google.com/'
Got:
    'http://www5.google.com/ncr&ei=0FroR7mkB4vynQPo_b3BCA&redir_esc=www5&ei=0FroR8fsGIO8nQOPiJHBCA&redir_esc=www5&ei=0FroR_WzG4_InAPb4fzECA&redir_esc=www5&ei=0FroR7G7HaC-mwPAj8i5CA&redir_esc=www5&ei=0FroR8y-H474nQOUxtmtCA&redir_esc=www5&ei=0FroR5eYIKf0nAO34Ki1CA&redir_esc=www5&ei=0FroR460JJy6ngP3zNSxCA&redir_esc=www5&ei=0FroR-_JLpb4nQOd79WtCA&redir_esc=www5&ei=0FroR4b7MI_InQPtqLS9CA&redir_esc=www5'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/over_the_wire.txt", line 24, in over_the_wire.txt
Failed example:
    'html' in browser.contents.lower()
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/over_the_wire.txt", line 29, in over_the_wire.txt
Failed example:
    browser.getControl(name='q').value = 'zope.testbrowser'
Exception raised:
    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[6]>", line 1, in ?
        browser.getControl(name='q').value = 'zope.testbrowser'
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/browser.py", line 337, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
        raise LookupError(msg)
    LookupError: name 'q'
----------------------------------------------------------------------
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):
    ...
    RobotExclusionError: 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 337, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Google Search'

  Ran 108 tests with 1 failures and 0 errors in 3.299 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 in 1.273 seconds.
  Ran 7 tests with 0 failures and 0 errors in 0.491 seconds.
Tearing down left over layers:
  Tear down zope.traversing.tests.layer.TraversingLayer in 0.008 seconds.
Total: 6643 tests, 1 failures, 0 errors in 48.138 seconds.

FAILED (failures=1)


More information about the Zope-tests mailing list