[Zope-dev] Zope 2.7.1b1 broke my unit tests !
James Henderson
james at logicalprogression.net
Mon May 31 17:18:47 EDT 2004
Apparently this has been fixed for beta 2. See:
http://collector.zope.org/Zope/1358
For an explanation of what's going on see the CHANGES file for beta 1 and
the following:
http://collector.zope.org/Zope/1233
HTH,
James
On Mon, 31 May 2004 21:31:50 +0200, Stefane Fermigier <sf at nuxeo.com> wrote:
> 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.
>
--
James Henderson, Logical Progression Ltd
http://www.logicalprogression.net
http://mailmanager.sourceforge.net
More information about the Zope-Dev
mailing list