Re: Zope tests: 4 OK, 2 Failed

Andreas Jung <[email protected]>
Newsgroups gmane.comp.web.zope.coders
Message-ID <D9AEC67AA7B951DC5140C156@[192.168.0.100]>
Stefan,

I think the failing tests are caused by your changes to testAcquisition.py 
(or it has been added).
Please fix!

Andreas


Zope Unit Tests : FAILED (errors=6)
Zope-2_7-branch Python-2.3.4 : Linux

Running /usr/local/python2.3/bin/python test.py
Script (Python):filepath:1: DeprecationWarning: integer argument expected, 
got float
======================================================================
ERROR: testAclUsersDenied (AccessControl.tests.testAcquisition.TestGetAttr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/autotest/temp/python23-zope27/lib/python/AccessControl/tests/testAcquisition.py", 
line 124, in testAclUsersDenied
    o = guarded_getattr(self.folder.denied, 'acl_users')
  File 
"/autotest/temp/python23-zope27/lib/python/AccessControl/ImplPython.py", 
line 554, in guarded_getattr
    if validate(inst, inst, name, v):
Unauthorized: You are not allowed to access 'acl_users' in this context

======================================================================
ERROR: testErrorLogDenied (AccessControl.tests.testAcquisition.TestGetAttr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/autotest/temp/python23-zope27/lib/python/AccessControl/tests/testAcquisition.py", 
line 154, in testErrorLogDenied
    o = guarded_getattr(self.folder.denied, 'error_log')
  File 
"/autotest/temp/python23-zope27/lib/python/AccessControl/ImplPython.py", 
line 554, in guarded_getattr
    if validate(inst, inst, name, v):
Unauthorized: You are not allowed to access 'error_log' in this context

======================================================================
ERROR: testAclUsersDenied 
(AccessControl.tests.testAcquisition.TestGetAttrAnonymous)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/autotest/temp/python23-zope27/lib/python/AccessControl/tests/testAcquisition.py", 
line 124, in testAclUsersDenied
    o = guarded_getattr(self.folder.denied, 'acl_users')
  File 
"/autotest/temp/python23-zope27/lib/python/AccessControl/ImplPython.py", 
line 554, in guarded_getattr
    if validate(inst, inst, name, v):
Unauthorized: You are not allowed to access 'acl_users' in this context

======================================================================
ERROR: testAclUsersProtected 
(AccessControl.tests.testAcquisition.TestGetAttrAnonymous)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/autotest/temp/python23-zope27/lib/python/AccessControl/tests/testAcquisition.py", 
line 129, in testAclUsersProtected
    o = guarded_getattr(self.folder.protected, 'acl_users')
  File 
"/autotest/temp/python23-zope27/lib/python/AccessControl/ImplPython.py", 
line 554, in guarded_getattr
    if validate(inst, inst, name, v):
Unauthorized: You are not allowed to access 'acl_users' in this context

======================================================================
ERROR: testErrorLogDenied 
(AccessControl.tests.testAcquisition.TestGetAttrAnonymous)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/autotest/temp/python23-zope27/lib/python/AccessControl/tests/testAcquisition.py", 
line 154, in testErrorLogDenied
    o = guarded_getattr(self.folder.denied, 'error_log')
  File 
"/autotest/temp/python23-zope27/lib/python/AccessControl/ImplPython.py", 
line 554, in guarded_getattr
    if validate(inst, inst, name, v):
Unauthorized: You are not allowed to access 'error_log' in this context

======================================================================
ERROR: testErrorLogProtected 
(AccessControl.tests.testAcquisition.TestGetAttrAnonymous)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/autotest/temp/python23-zope27/lib/python/AccessControl/tests/testAcquisition.py", 
line 159, in testErrorLogProtected
    o = guarded_getattr(self.folder.protected, 'error_log')
  File 
"/autotest/temp/python23-zope27/lib/python/AccessControl/ImplPython.py", 
line 554, in guarded_getattr
    if validate(inst, inst, name, v):
Unauthorized: You are not allowed to access 'error_log' in this context

--On Samstag, 22. Januar 2005 12:01 Uhr +0000 Zope tests summarizer 
<[email protected]> wrote:

> Summary of messages to the zope-tests list.
> Period Fri Jan 21 12:01:02 2005 UTC to Sat Jan 22 12:01:02 2005 UTC.
> There were 6 messages: 6 from Zope Unit Tests.
>
>
> Test failures
> -------------
>
> Subject: FAILED (errors=6) : Zope-2_7-branch Python-2.3.4 :
> 	Linux
> From: Zope Unit Tests
> Date: Fri Jan 21 23:18:25 EST 2005
> URL: http://mail.zope.org/pipermail/zope-tests/2005-January/001465.html
>
> Subject: FAILED (errors=6) : Zope-2_7-branch Python-2.4 : Linux
> From: Zope Unit Tests
> Date: Fri Jan 21 23:20:25 EST 2005
> URL: http://mail.zope.org/pipermail/zope-tests/2005-January/001466.html
>
>
> Tests passed OK
> ---------------
>
> Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux
> From: Zope Unit Tests
> Date: Fri Jan 21 23:14:24 EST 2005
> URL: http://mail.zope.org/pipermail/zope-tests/2005-January/001463.html
>
> Subject: OK : Zope-2_6-branch Python-2.3.4 : Linux
> From: Zope Unit Tests
> Date: Fri Jan 21 23:16:24 EST 2005
> URL: http://mail.zope.org/pipermail/zope-tests/2005-January/001464.html
>
> Subject: OK : Zope-trunk Python-2.3.4 : Linux
> From: Zope Unit Tests
> Date: Fri Jan 21 23:22:25 EST 2005
> URL: http://mail.zope.org/pipermail/zope-tests/2005-January/001467.html
>
> Subject: OK : Zope-trunk Python-2.4 : Linux
> From: Zope Unit Tests
> Date: Fri Jan 21 23:24:25 EST 2005
> URL: http://mail.zope.org/pipermail/zope-tests/2005-January/001468.html
>
> _______________________________________________
> Zope-Coders mailing list
> [email protected]
> http://mail.zope.org/mailman/listinfo/zope-coders
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.