-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I got tests failing with the following configuration :

FC4
Zope-2.8.4
Python 2.3.5 / 2.4.2
PAS trunk

as below :

======================================================================
FAIL: Doctest: ChallengeProtocolChooser.txt
- ----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/Zope-2.8.4/lib/python/zope/testing/doctest.py", line 2102,
in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for ChallengeProtocolChooser.txt
  File
"/home/zopes/zope2.8.4/Products/PluggableAuthService/plugins/tests/ChallengeProtocolChooser.txt",
line 0

and all the failures within this doctest look like this one :

- ----------------------------------------------------------------------
File
"/home/zopes/zope2.8.4/Products/PluggableAuthService/plugins/tests/ChallengeProtocolChooser.txt",
line 260, in ChallengeProtocolChooser.txt
Failed example:
    print http(r"""
    POST /%s HTTP/1.1
    Content-Type: text/xml; charset="utf-8"
    <?xml version="1.0"?>
    <methodCall>
    <methodName>test_script</methodName>
    </methodCall>
    """ % (folder_name), handle_errors=False)
Exception raised:
    Traceback (most recent call last):
      File "/opt/Zope-2.8.4/lib/python/zope/testing/doctest.py", line
1315, in __run
        compileflags, 1) in test.globs
      File "<doctest ChallengeProtocolChooser.txt[62]>", line 1, in ?
        print http(r"""
      File
"/opt/Zope-2.8.4/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py",
line 180, in http
        debug=not handle_errors,
      File "/opt/Zope-2.8.4/lib/python/ZPublisher/Test.py", line 193, in
publish_module
        response = publish(request, module_name, after_list, debug=debug)
      File "/opt/Zope-2.8.4/lib/python/ZPublisher/Publish.py", line 144,
in publish
        sys.exc_info()[2],
      File "/opt/Zope-2.8.4/lib/python/ZPublisher/Publish.py", line 104,
in publish
        object=request.traverse(path, validated_hook=validated_hook)
      File "/opt/Zope-2.8.4/lib/python/ZPublisher/BaseRequest.py", line
461, in traverse
        response.unauthorized()
      File "/opt/Zope-2.8.4/lib/python/ZPublisher/HTTPResponse.py", line
684, in unauthorized
        raise Unauthorized, m
    Unauthorized: <strong>You are not authorized to access this
resource.</strong>

With Zope-2.7.8 the tests pass just fine.

Any idea about the problem ?

        J.
- --
Julien Anguenot | Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: anguenot at nuxeo.com; tel: +33 (0) 6 72 57 57 66
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFDajrSGhoG8MxZ/pIRAvrfAJkBJcCgjv9uX47bR2qpp/TR5k3RoQCYqyxs
Qx14vfIROlhkTOR9zNnAdQ==
=SB7t
-----END PGP SIGNATURE-----
_______________________________________________
Zope-PAS mailing list
Zope-PAS@zope.org
http://mail.zope.org/mailman/listinfo/zope-pas

Reply via email to