[Zope-CMF] test failures
Florent Guillaume
fg at nuxeo.com
Thu Apr 14 13:50:16 EDT 2005
I have strange failures with Zope 2.7 HEAD and CMF 1.4 HEAD:
Running
bin/zopectl test -vv --dir Products/CMFCore test_PortalFolder
works.
But running
bin/zopectl test -vv --dir Products/CMFCore
gives:
======================================================================
ERROR: test_invokeFactory
(Products.CMFCore.tests.test_PortalFolder.PortalFolderFactoryTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/zopes/zope27head/Products/CMFCore/tests/test_PortalFolder.py",
line 78, in test_invokeFactory
f.invokeFactory( type_name='Dummy Content', id='foo' )
File "/home/zopes/zope27head/Products/CMFCore/PortalFolder.py", line
367, in invokeFactory
pt.constructContent(type_name, self, id, RESPONSE, *args, **kw)
File "/home/zopes/zope27head/Products/CMFCore/TypesTool.py", line 709,
in constructContent
ob = info.constructInstance(container, id, *args, **kw)
File "/home/zopes/zope27head/Products/CMFCore/TypesTool.py", line 388,
in constructInstance
m = self._getFactoryMethod(container)
File "/home/zopes/zope27head/Products/CMFCore/TypesTool.py", line 334,
in _getFactoryMethod
raise ValueError, ('Product factory for %s was undefined' %
ValueError: Product factory for was undefined
======================================================================
FAIL: test_contentPaste
(Products.CMFCore.tests.test_PortalFolder.PortalFolderTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/zopes/zope27head/Products/CMFCore/tests/test_PortalFolder.py",
line 370, in test_contentPaste
assert 'dummy' in sub1.contentIds()
AssertionError
----------------------------------------------------------------------
Ran 432 tests in 71.072s
FAILED (failures=1, errors=1)
Any ideas ?
--
Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D
+33 1 40 33 71 59 http://nuxeo.com fg at nuxeo.com
More information about the Zope-CMF
mailing list