Ignore:
Timestamp:
Apr 12, 2012 7:52:23 AM (8 years ago)
Author:
vmaksymiv
Message:

fixed tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.pfg.captcha/branches/broken_types/quintagroup/pfg/captcha/tests/testMigration.py

    r3212 r3426  
    11import unittest 
     2from quintagroup.pfg.captcha.field import CAPTCHA_ID 
    23from quintagroup.pfg.captcha.tests.base import TestCaseNotInstalled, \ 
    34    REQUIREMENTS 
     
    4243        self.portal.invokeFactory("FormFolder", 'test_form') 
    4344        test_form = self.portal['test_form'] 
    44         test_form.invokeFactory("CaptchaField", 'test_captcha_field') 
     45        test_form.invokeFactory("CaptchaField", CAPTCHA_ID) 
    4546        self.cf_path = "test_form/key" 
    4647        self.old_cf = self.portal.unrestrictedTraverse(self.cf_path) 
Note: See TracChangeset for help on using the changeset viewer.