[Zope-CMF] Running cmf-1.4.2 tests under zope 2.7.0?

Dieter Maurer dieter at handshake.de
Fri May 28 15:12:58 EDT 2004


Paul Winkler wrote at 2004-5-27 16:32 -0400:
> ...
>======================================================================
>ERROR: testTest (test_minimal.TestDemo)
>----------------------------------------------------------------------
>Traceback (most recent call last):
>  File "test_minimal.py", line 11, in setUp
>    SecurityRequestTest.setUp(self)
>  File "/home/pw/ZopeInstanceHome/Products/CMFCore/tests/base/testcase.py", line 54, in setUp
>    SecurityTest.setUp(self)
>  File "/home/pw/ZopeInstanceHome/Products/CMFCore/tests/base/testcase.py", line 41, in setUp
>    self.connection = Zope.DB.open()
>AttributeError: 'NoneType' object has no attribute 'open'

Your Zope is not yet set up.

Try to add "import Testing" at the beginning of your test.

-- 
Dieter



More information about the Zope-CMF mailing list