- Timestamp:
- 22 Dec 2015, 07:25:36 (9 years ago)
- Location:
- main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/interfaces.py
r13559 r13561 80 80 81 81 def four_items(value): 82 if len(value) != 4:82 if len(value) and len(value) != 4: 83 83 raise NotExactNumberOfItems(value) 84 84 return True -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/tests/test_browser.py
r13554 r13561 365 365 self.browser.getControl(name="form.course1").value = ['CERT1'] 366 366 self.browser.getControl("Save").click() 367 self.assertMatches('...Not exactly 4 items selected...', self.browser.contents)367 #self.assertMatches('...Not exactly 4 items selected...', self.browser.contents) 368 368 # Since the testbrowser does not support Javascrip we can't test the 369 369 # save action which clears jamb_subjects_list on the edit form page
Note: See TracChangeset for help on using the changeset viewer.