[Zope-dev] Zope 2.7.1b1 broke my unit tests !

Stefane Fermigier sf at nuxeo.com
Mon May 31 15:31:50 EDT 2004


Testing CPSCore: make: *** [test] Error 1 ( 
handlers.handleConfig(opts.configroot, opts.confighandlers))
Here is the full log:
------------------------------------------------------------------------------
Loading Zope, please stand by ...Traceback (most recent call last):
   File "runalltests.py", line 24, in ?
     m = __import__(test)
   File "test_base.py", line 23, in ?
     import Testing.ZopeTestCase.ZopeLite as Zope
   File 
"/home/fermigier/cvsnuxeo/tools/publication/Zope/lib/python/Testing/ZopeTestCase/__init__.py", 
line 7, in ?
     import ZopeLite as Zope
   File 
"/home/fermigier/cvsnuxeo/tools/publication/Zope/lib/python/Testing/ZopeTestCase/ZopeLite.py", 
line 105, in ?
     _theApp = Zope.app()
   File 
"/home/fermigier/cvsnuxeo/tools/publication/Zope/lib/python/Zope/__init__.py", 
line 53, in app
     configure()
   File 
"/home/fermigier/cvsnuxeo/tools/publication/Zope/lib/python/Zope/Startup/run.py", 
line 30, in configure
     opts = _setconfig(configfile)
   File 
"/home/fermigier/cvsnuxeo/tools/publication/Zope/lib/python/Zope/Startup/run.py", 
line 47, in _setconfig
     handlers.handleConfig(opts.configroot, opts.confighandlers)
AttributeError: ZopeOptions instance has no attribute 'confighandlers'
make: *** [test] Error 1


All the CPS tests pass under Zope 2.6.1, 2.6.4 and 2.7.0.

Any idea of what's going on ? Could it be a problem with ZopeTestCase (I'm using 
ZTC 0.9.0) ?

	S.

-- 
Stéfane Fermigier, Tel: +33 (0)6 63 04 12 77 (mobile).
Nuxeo Collaborative Portal Server: http://www.nuxeo.com/cps
Gestion de contenu web / portail collaboratif / groupware / open source!




More information about the Zope-Dev mailing list