Changeset 10210 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Timestamp:
- 23 May 2013, 20:55:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r10147 r10210 863 863 % (self.applicant.applicant_id, payment.p_id) 864 864 in logcontent) 865 return 866 867 def test_duplicate_choice(self): 868 # Make sure that that 1st and 2nd choice are different 869 self.login() 870 self.browser.open(self.edit_path) 871 self.fill_correct_values() # fill other fields with correct values 872 self.browser.getControl(name="form.course2").value = ['CERT1'] 873 self.browser.getControl("Save").click() 874 self.assertTrue( 875 '1st and 2nd choice must be different' in self.browser.contents) 876 self.browser.getControl(name="form.course2").value = [] 877 self.browser.getControl("Save").click() 878 self.assertTrue('Form has been saved' in self.browser.contents) 865 879 return 866 880
Note: See TracChangeset for help on using the changeset viewer.