Changeset 6112 for main/waeup.sirp
- Timestamp:
- 16 May 2011, 10:25:13 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_authentication.py
r5908 r6112 217 217 def test_extractCredentials_full_set(self): 218 218 request = self.filled_request({ 219 'form. prefix': 'APP',219 'form.ac_prefix': 'APP', 220 220 'form.ac_series': '1', 221 221 'form.ac_number': '1234567890', … … 228 228 def test_extractCredentials_accesscode_only(self): 229 229 request = self.filled_request({ 230 'form. prefix': 'APP',230 'form.ac_prefix': 'APP', 231 231 'form.ac_series': '1', 232 232 'form.ac_number': '1234567890', -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py
r6104 r6112 54 54 55 55 # Add an applicants container where we can login (or not) 56 app['applicants']['testapplicants'] = ApplicantsContainer() 56 applicantscontainer = ApplicantsContainer() 57 applicantscontainer.ac_prefix = 'APP' 58 app['applicants']['testapplicants'] = applicantscontainer 57 59 58 60 # Put the prepopulated site into test ZODB and prepare test … … 135 137 super(LoginTestWithPINs, self).setUp() 136 138 137 # Create 5 access codes with prefix 139 # Create 5 access codes with prefix'FOO' and cost 9.99 each 138 140 pin_container = self.getRootFolder()['app']['accesscodes'] 139 141 pin_container.createBatch( -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_interfaces.py
r6088 r6112 41 41 42 42 def test_vocabulary_len(self): 43 self.assertEqual(len(self.vocab), 9)43 self.assertEqual(len(self.vocab), 10) 44 44 return 45 45
Note: See TracChangeset for help on using the changeset viewer.