Hi, I can't get rid of this problem: AttributeError: 'module' object has no attribute 'test_suite'. Other posts said to remove the tests.py file one level below installed from Paster, which I did - but no success. Some other documentation says that old Zope tests code can create that error and needs to be upgraded. This is a new install. Any ideas? Full error is below. Thanks
laptop:~/afewtips$ ./bin/instance test -s afewtips.policy Running tests at level 1 Installing CMFCore ... done (0.305s) Installing CMFDefault ... done (0.235s) Installing CMFCalendar ... done (0.041s) Installing CMFTopic ... done (0.026s) Installing DCWorkflow ... done (0.064s) Installing CMFActionIcons ... done (0.025s) Installing CMFQuickInstallerTool ... done (0.066s) Installing CMFFormController ... done (0.358s) Installing GroupUserFolder ... done (0.409s) Installing ZCTextIndex ... done (0.061s) Installing CMFPlone ... done (2.314s) Installing Archetypes ... done (0.115s) Installing ATContentTypes ... done (0.047s) Installing ATReferenceBrowserWidget ... done (0.013s) Installing CMFDynamicViewFTI ... done (0.013s) Installing ExternalEditor ... done (0.016s) Installing ExtendedPathIndex ... done (0.018s) Installing ResourceRegistries ... done (0.013s) Installing SecureMailHost ... done (0.016s) Installing CMFPlacefulWorkflow ... done (0.063s) Installing PasswordResetTool ... done (0.016s) Installing PluggableAuthService ... /home/webmaster/afewtips/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile PluggableAuthService:simple taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml. DeprecationWarning) /home/webmaster/afewtips/parts/plone/GenericSetup/registry.py:744: DeprecationWarning: Version for profile PluggableAuthService:empty taken from version.txt. This is deprecated behaviour and will be removed in GenericSetup 1.5: please specify the version in metadata.xml. DeprecationWarning) done (0.024s) Installing PluginRegistry ... done (0.020s) Installing PlonePAS ... done (0.025s) Installing kupu ... done (0.264s) Installing CMFEditions ... done (0.026s) Installing CMFDiffTool ... done (0.025s) Installing PloneLanguageTool ... done (0.022s) Test-module import failures: Module: afewtips.policy.tests.test_setup AttributeError: 'module' object has no attribute 'test_suite' Total: 0 tests, 0 failures, 0 errors Test-modules with import problems: afewtips.policy.tests.test_setup -- View this message in context: http://n2.nabble.com/Deleting-Tests.py-didn%27t-remove-AttributeError%3A-%27module%27-object-has-no-attribute-%27test_suite%27-tp1088902p1088902.html Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com. _______________________________________________ Setup mailing list [email protected] http://lists.plone.org/mailman/listinfo/setup
