[Zope-tests] FAILED (failures=1) : Zope-2_8-branch Python-2.4.1 : Linux

Zope Unit Tests zope-tests at epy.co.at
Sun Sep 25 22:33:49 EDT 2005


Zope Unit Tests : FAILED (failures=1)
Zope-2_8-branch Python-2.4.1 : Linux

Running /usr/local/python2.4/bin/python test.py
/usr/local/python2.4/lib/python2.4/whrandom.py:38: DeprecationWarning: the whrandom module is deprecated; please use the random module
  DeprecationWarning)
Script (Python):filepath:1: DeprecationWarning: integer argument expected, got float
======================================================================
FAIL: Doctest: forms.txt
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/autotest/temp/python24-zope28/lib/python/zope/testing/doctest.py", line 2102, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for forms.txt
  File "/autotest/temp/python24-zope28/lib/python/Products/Five/tests/forms.txt", line 0

----------------------------------------------------------------------
File "/autotest/temp/python24-zope28/lib/python/Products/Five/tests/forms.txt", line 35, in forms.txt
Failed example:
    print http(r"""
    GET /test_folder_1_/ftf/+/protectedaddform.html HTTP/1.1
    Authorization: Basic viewer:secret
    """, handle_errors=False)
Exception raised:
    Traceback (most recent call last):
      File "/autotest/temp/python24-zope28/lib/python/zope/testing/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest forms.txt[4]>", line 1, in ?
        print http(r"""
      File "/autotest/temp/python24-zope28/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py", line 180, in http
        debug=not handle_errors,
      File "/autotest/temp/python24-zope28/lib/python/ZPublisher/Test.py", line 193, in publish_module
        response = publish(request, module_name, after_list, debug=debug)
      File "/autotest/temp/python24-zope28/lib/python/ZPublisher/Publish.py", line 144, in publish
        sys.exc_info()[2],
      File "/autotest/temp/python24-zope28/lib/python/Zope2/App/startup.py", line 199, in zpublisher_exception_hook
        f(client, REQUEST, t, v, traceback, error_log_url=error_log_url)
      File "/autotest/temp/python24-zope28/lib/python/ZPublisher/Publish.py", line 104, in publish
        object=request.traverse(path, validated_hook=validated_hook)
      File "/autotest/temp/python24-zope28/lib/python/ZPublisher/BaseRequest.py", line 461, in traverse
        response.unauthorized()
      File "/autotest/temp/python24-zope28/lib/python/ZPublisher/HTTPResponse.py", line 682, in unauthorized
        raise Unauthorized, m
    Unauthorized: <html>
      <head><title></title></head>
      <body bgcolor="#FFFFFF">

     <strong>You are not authorized to access this resource.</strong>

      </body>
    </html>




----------------------------------------------------------------------
Ran 5820 tests in 576.503s

FAILED (failures=1)


More information about the Zope-tests mailing list