Changeset 3426 in products for quintagroup.pfg.captcha/branches/broken_types/quintagroup/pfg/captcha/tests/testMigration.py
- Timestamp:
- Apr 12, 2012 7:52:23 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.pfg.captcha/branches/broken_types/quintagroup/pfg/captcha/tests/testMigration.py
r3212 r3426 1 1 import unittest 2 from quintagroup.pfg.captcha.field import CAPTCHA_ID 2 3 from quintagroup.pfg.captcha.tests.base import TestCaseNotInstalled, \ 3 4 REQUIREMENTS … … 42 43 self.portal.invokeFactory("FormFolder", 'test_form') 43 44 test_form = self.portal['test_form'] 44 test_form.invokeFactory("CaptchaField", 'test_captcha_field')45 test_form.invokeFactory("CaptchaField", CAPTCHA_ID) 45 46 self.cf_path = "test_form/key" 46 47 self.old_cf = self.portal.unrestrictedTraverse(self.cf_path)
Note: See TracChangeset
for help on using the changeset viewer.