Changeset 3212 in products for quintagroup.pfg.captcha/trunk/quintagroup/pfg/captcha/tests/testMigration.py
- Timestamp:
- May 4, 2011 11:24:37 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.pfg.captcha/trunk/quintagroup/pfg/captcha/tests/testMigration.py
r3168 r3212 1 1 import unittest 2 from quintagroup.pfg.captcha.tests.base import TestCaseNotInstalled 2 from quintagroup.pfg.captcha.tests.base import TestCaseNotInstalled, \ 3 REQUIREMENTS 3 4 4 5 … … 35 36 def prepareToMigration(self): 36 37 # Install types 37 self.addProduct("quintagroup.pfg.captcha") 38 for p in REQUIREMENTS: 39 if not self.qi.isProductInstalled(p): 40 self.qi.installProduct(p) 38 41 # Add captcha field 39 42 self.portal.invokeFactory("FormFolder", 'test_form')
Note: See TracChangeset
for help on using the changeset viewer.