[cmf-tests] FAILED (errors=9) : CMF-trunk Zope-trunk Python-2.4.4 :
Linux
CMF Unit Tests
cmf-tests at epy.co.at
Sun Nov 25 21:41:40 EST 2007
CMF Unit Tests : FAILED (errors=9)
CMF-trunk Zope-trunk Python-2.4.4 : Linux
Running /usr/local/python2.4/bin/python /home/stefan/autotest/temp/python24-zope211/test.py -q --config-file etc/zope.conf --path Products --test-path Products
Parsing /home/stefan/autotest/temp/python24-zope211-cmf22/etc/zope.conf
Running unit tests:
/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile Products.GenericSetup:default taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
Ran 452 tests with 0 failures and 0 errors in 3.122 seconds.
Running Testing.ZopeTestCase.layer.ZopeLite tests:
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.185 seconds.
/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile GenericSetup:dummy_profile2 taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile GenericSetup:dummy_profile taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
Error in test test_registerProfile_duplicate (GenericSetup.tests.test_registry.ProfileRegistryTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/tests/test_registry.py", line 1072, in test_registerProfile_duplicate
registry.registerProfile( NAME, TITLE, DESCRIPTION, PATH )
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
metadata = ProfileMetadata(
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/utils.py", line 841, in _getProductPath
, globals(), {}, ['initialize'])
TypeError: __import__() argument 1 must be string, not None
Error in test test_registerProfile_normal (GenericSetup.tests.test_registry.ProfileRegistryTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/tests/test_registry.py", line 1048, in test_registerProfile_normal
, PROFILE_TYPE
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
metadata = ProfileMetadata(
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/utils.py", line 843, in _getProductPath
raise ValueError('Not a valid product name: %s'
ValueError: Not a valid product name: TestProduct
Error in test test_registerProfile_site_type (GenericSetup.tests.test_registry.ProfileRegistryTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/tests/test_registry.py", line 1098, in test_registerProfile_site_type
, for_=FOR
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
metadata = ProfileMetadata(
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/utils.py", line 843, in _getProductPath
raise ValueError('Not a valid product name: %s'
ValueError: Not a valid product name: TestProduct
Ran 357 tests with 0 failures and 3 errors in 5.470 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
Set up Products.CMFCore.testing.FunctionalZCMLLayer in 1.549 seconds.
/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile Products.CMFCalendar:default taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile Products.CMFCalendar:skins_support taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile Products.CMFDefault:default taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile Products.CMFDefault:views_support taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile Products.CMFDefault:sample_content taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile Products.CMFTopic:default taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py:572: UserWarning: Version for profile Products.DCWorkflow:revision2 taken from version.txt. This is deprecated behaviour: please specify the version in metadata.xml.
warn('Version for profile %s taken from version.txt. '
/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py:212: UserWarning: The version parameter for registerStep.ImportStepRegistry is deprecated.
warn('The version parameter for registerStep.ImportStepRegistry '
Ran 50 tests with 0 failures and 0 errors in 0.780 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
Set up Products.CMFCalendar.testing.FunctionalLayer in 1.607 seconds.
Ran 22 tests with 0 failures and 0 errors in 7.473 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.221 seconds.
Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.005 seconds.
Set up Products.CMFCore.testing.EventZCMLLayer in 0.004 seconds.
Ran 24 tests with 0 failures and 0 errors in 3.825 seconds.
Running Products.CMFCore.testing.ExportImportZCMLLayer tests:
Tear down Products.CMFCore.testing.EventZCMLLayer in 0.000 seconds.
Set up Products.CMFCore.testing.ExportImportZCMLLayer in 0.004 seconds.
Ran 109 tests with 0 failures and 0 errors in 29.223 seconds.
Running Products.CMFCore.testing.TraversingEventZCMLLayer tests:
Tear down Products.CMFCore.testing.ExportImportZCMLLayer in 0.000 seconds.
Set up Products.CMFCore.testing.TraversingEventZCMLLayer in 0.005 seconds.
Ran 15 tests with 0 failures and 0 errors in 1.545 seconds.
Running Products.CMFCore.testing.TraversingZCMLLayer tests:
Tear down Products.CMFCore.testing.TraversingEventZCMLLayer in 0.000 seconds.
Set up Products.CMFCore.testing.TraversingZCMLLayer in 0.005 seconds.
Ran 68 tests with 0 failures and 0 errors in 5.604 seconds.
Running Products.CMFDefault.testing.FunctionalLayer tests:
Tear down Products.CMFCore.testing.TraversingZCMLLayer in 0.000 seconds.
Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.604 seconds.
Set up Products.CMFDefault.testing.FunctionalLayer in 0.614 seconds.
Ran 50 tests with 0 failures and 0 errors in 8.327 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
Tear down Products.CMFDefault.testing.FunctionalLayer in 0.066 seconds.
Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.006 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.000 seconds.
Ran 12 tests with 0 failures and 0 errors in 1.047 seconds.
Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
Tear down Products.CMFUid.testing.UidEventZCMLLayer in 0.000 seconds.
Set up Testing.ZopeTestCase.layer.ZopeLite in 0.004 seconds.
Set up Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.568 seconds.
Ran 37 tests with 0 failures and 0 errors in 2.219 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
Tear down Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.001 seconds.
Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.129 seconds.
Error in test test_getBaselineContextID (Products.GenericSetup.tests.test_tool.SetupToolTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/tests/test_tool.py", line 140, in test_getBaselineContextID
profile_registry.registerProfile('foo', 'Foo', '', self._PROFILE_PATH)
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
metadata = ProfileMetadata(
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/utils.py", line 841, in _getProductPath
, globals(), {}, ['initialize'])
TypeError: __import__() argument 1 must be string, not None
Error in test test_listContextInfos_with_registered_base_profile (Products.GenericSetup.tests.test_tool.SetupToolTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/tests/test_tool.py", line 770, in test_listContextInfos_with_registered_base_profile
'Foo', BASE)
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
metadata = ProfileMetadata(
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/utils.py", line 843, in _getProductPath
raise ValueError('Not a valid product name: %s'
ValueError: Not a valid product name: Foo
Error in test test_listContextInfos_with_registered_extension_profile (Products.GenericSetup.tests.test_tool.SetupToolTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/tests/test_tool.py", line 784, in test_listContextInfos_with_registered_extension_profile
'Foo', EXTENSION)
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
metadata = ProfileMetadata(
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/utils.py", line 843, in _getProductPath
raise ValueError('Not a valid product name: %s'
ValueError: Not a valid product name: Foo
Error in test test_runAllImportStepsFromProfileWithDepends (Products.GenericSetup.tests.test_tool.SetupToolTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/tests/test_tool.py", line 530, in test_runAllImportStepsFromProfileWithDepends
profile_registry.registerProfile('foo', 'Foo', '', self._PROFILE_PATH)
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
metadata = ProfileMetadata(
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/utils.py", line 841, in _getProductPath
, globals(), {}, ['initialize'])
TypeError: __import__() argument 1 must be string, not None
Error in test test_runAllImportStepsFromProfileWithoutDepends (Products.GenericSetup.tests.test_tool.SetupToolTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/tests/test_tool.py", line 512, in test_runAllImportStepsFromProfileWithoutDepends
profile_registry.registerProfile('foo', 'Foo', '', self._PROFILE_PATH)
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
metadata = ProfileMetadata(
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/utils.py", line 841, in _getProductPath
, globals(), {}, ['initialize'])
TypeError: __import__() argument 1 must be string, not None
Error in test test_setBaselineContext (Products.GenericSetup.tests.test_tool.SetupToolTests)
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
testMethod()
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/tests/test_tool.py", line 180, in test_setBaselineContext
profile_registry.registerProfile('foo', 'Foo', '', self._PROFILE_PATH)
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/registry.py", line 555, in registerProfile
metadata = ProfileMetadata(
File "/home/stefan/autotest/temp/python24-zope211-cmf22/Products/GenericSetup/utils.py", line 841, in _getProductPath
, globals(), {}, ['initialize'])
TypeError: __import__() argument 1 must be string, not None
Ran 207 tests with 0 failures and 6 errors in 1.669 seconds.
Tearing down left over layers:
Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.001 seconds.
Total: 1403 tests, 0 failures, 9 errors
FAILED (errors=9)
More information about the cmf-tests
mailing list