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/testInstalled.py

    r3168 r3426  
    6161        self.folder.invokeFactory('FormFolder', 'ff1') 
    6262        self.ff1 = getattr(self.folder, 'ff1') 
    63         self.ff1.invokeFactory('CaptchaField', 'captcha_field') 
    64  
    65     def testId(self): 
    66         """CaptchaField has always CAPTCHA_ID id.""" 
    67         self.assertEqual(CAPTCHA_ID in self.ff1, True) 
    68         self.assertNotEqual('captcha_field' in self.ff1, True) 
     63        self.ff1.invokeFactory('CaptchaField', CAPTCHA_ID) 
    6964 
    7065    def testSchema(self): 
Note: See TracChangeset for help on using the changeset viewer.