Changeset 3170 in products for quintagroup.analytics/trunk/quintagroup/analytics/tests.py
- Timestamp:
- Apr 21, 2011 3:06:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.analytics/trunk/quintagroup/analytics/tests.py
r3169 r3170 6 6 from Products.Five import zcml 7 7 from Products.Five import fiveconfigure 8 from zope.component import testing,queryMultiAdapter, getUtility8 from zope.component import queryMultiAdapter, getUtility 9 9 10 10 from Products.PloneTestCase import PloneTestCase as ptc … … 65 65 uf = portal.acl_users 66 66 pm = portal.portal_membership 67 p c = portal.portal_catalog67 portal.portal_catalog 68 68 users = [u[0] for u in cls.users] 69 69 for u in users: … … 446 446 447 447 def test_suite(): 448 from unittest import TestSuite, makeSuite449 450 448 test_suite = unittest.TestSuite([ 451 449 … … 471 469 ]) 472 470 473 test_suite.addTest( makeSuite(TestQAInstallation))474 test_suite.addTest( makeSuite(TestOwnershipByType))475 test_suite.addTest( makeSuite(TestOwnershipByState))476 test_suite.addTest( makeSuite(TestTypeByState))477 test_suite.addTest( makeSuite(LegacyPortlets))478 test_suite.addTest( makeSuite(TestPropertiesStats))479 test_suite.addTest( makeSuite(TestPortletsStats))471 test_suite.addTest(unittest.makeSuite(TestQAInstallation)) 472 test_suite.addTest(unittest.makeSuite(TestOwnershipByType)) 473 test_suite.addTest(unittest.makeSuite(TestOwnershipByState)) 474 test_suite.addTest(unittest.makeSuite(TestTypeByState)) 475 test_suite.addTest(unittest.makeSuite(LegacyPortlets)) 476 test_suite.addTest(unittest.makeSuite(TestPropertiesStats)) 477 test_suite.addTest(unittest.makeSuite(TestPortletsStats)) 480 478 return test_suite 481 479
Note: See TracChangeset
for help on using the changeset viewer.