Changeset 1701 in products for quintagroup.canonicalpath/trunk/quintagroup/canonicalpath/tests.py
- Timestamp:
- Feb 10, 2010 7:45:26 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.canonicalpath/trunk/quintagroup/canonicalpath/tests.py
r1700 r1701 57 57 "for document, must be: '%s'" % (adcp, mydoc_cp) ) 58 58 59 class TestInstallation(TestCase): 60 61 def afterSetUp(self): 62 self.qi = self.portal.portal_quickinstaller 63 self.qi.installProduct("quintagroup.canonicalpath") 64 65 self.purl = getToolByName(self.portal, 'portal_url') 66 self.catalog = getToolByName(self.portal, 'portal_catalog') 67 68 def testCatalogMetadata(self): 69 self.assertTrue('canonical_path' in self.catalog._catalog.names, 70 "'canonical_path' metadata not added to catalog.") 71 72 73 59 74 def test_suite(): 60 75 return unittest.TestSuite([ 61 76 unittest.makeSuite(TestAdapter), 77 unittest.makeSuite(TestInstallation), 62 78 ]) 63 79
Note: See TracChangeset
for help on using the changeset viewer.