On Tue, Dec 13, 2005 at 07:57:38AM +0100, Michael Howitz wrote:
In unittests the ZCML-Directives are not used so you have to do the
things from ZCML in your test-code before adaption.
from zope.interface import classImplements
from zope.app.testing import ztapi
classImplements(str,
On Mon, 2005-12-12 at 18:06 -0500, Paul Winkler wrote:
[...]
# toward the end of
# tests/testtests/test_AcceleratedHTTPCacheManager.py #
def test_XXXinterface(self):
url = 'http://www.google.com'
from Products.StandardCacheManagers.interfaces
]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Howitz
Sent: Wednesday, December 07, 2005 8:59 AM
To: Paul Winkler
Cc: zope3-users@zope.org
Subject: Re: [Zope3-Users] Adapting a builtin?
On Tue, 2005-12-06 at 18:44 -0500, Paul Winkler wrote:
Hi,
Is it possible to register an adapter
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Howitz
Sent: Wednesday, December 07, 2005 8:59 AM
To: Paul Winkler
Cc: zope3-users@zope.org
Subject: Re: [Zope3-Users] Adapting a builtin?
On Tue, 2005-12-06 at 18:44 -0500, Paul Winkler wrote:
Hi,
Is it possible to register an adapter