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

Paul Winkler pw_lists at slinkp.com
Thu May 27 15:40:35 EDT 2004


Hiya,

I discovered today that all_cmf_tests.py from cmf 1.4.2 
apparently doesn't work with zope 2.7.0: I get 1 failure and 112 errors.
Most of them look like:

Traceback (most recent call last):
  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'


I was using all_cmf_tests.py to run unittests for my own 
CMF tools.  Is there a better way to do it under zope 2.7?

-- 

Paul Winkler
http://www.slinkp.com



More information about the Zope-CMF mailing list