Changeset 7556 for main/waeup.sirp/trunk
- Timestamp:
- 2 Feb 2012, 08:47:56 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r7539 r7556 1023 1023 self.browser.getControl(name="ac_number").value = self.existing_pwdnumber 1024 1024 self.browser.getControl(name="reg_number").value = '223456' 1025 self.browser.getControl("S how").click()1025 self.browser.getControl("Set").click() 1026 1026 self.assertMatches('...No student found...', 1027 1027 self.browser.contents) 1028 1028 self.browser.getControl(name="reg_number").value = '123456' 1029 1029 self.browser.getControl(name="ac_number").value = '999999' 1030 self.browser.getControl("S how").click()1030 self.browser.getControl("Set").click() 1031 1031 self.assertMatches('...Access code is invalid...', 1032 1032 self.browser.contents) 1033 1033 self.browser.getControl(name="ac_number").value = self.existing_pwdnumber 1034 self.browser.getControl("S how").click()1034 self.browser.getControl("Set").click() 1035 1035 self.assertMatches('...Password has been set. Your Student Id is...', 1036 1036 self.browser.contents) 1037 self.browser.getControl("S how").click()1037 self.browser.getControl("Set").click() 1038 1038 self.assertMatches( 1039 1039 '...Password has already been set. Your Student Id is...', … … 1045 1045 self.browser.getControl(name="ac_number").value = existing_pwdnumber 1046 1046 self.browser.getControl(name="reg_number").value = '123456' 1047 self.browser.getControl("S how").click()1047 self.browser.getControl("Set").click() 1048 1048 self.assertMatches( 1049 1049 '...You are using the wrong Access Code...',
Note: See TracChangeset for help on using the changeset viewer.