Changeset 7143 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 19 Nov 2011, 14:35:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r7134 r7143 639 639 self.browser.getControl('Perform import...').click() 640 640 self.assertTrue('Processing of 1 rows failed' in self.browser.contents) 641 self.assertTrue('Successfully processed 2 rows' in self.browser.contents) 641 self.assertTrue('Successfully processed 2 rows' 642 in self.browser.contents) 642 643 return 643 644 … … 656 657 name="form.password_repeat").value = 'pw' 657 658 self.browser.getControl("Save").click() 658 self.assertTrue(' Constraint not satisfied' in self.browser.contents)659 self.assertTrue('Value is too short' in self.browser.contents) 659 660 self.browser.getControl(name="form.password").value = 'new_password' 660 661 self.browser.getControl( … … 666 667 name="form.password_repeat").value = 'new_password' 667 668 self.browser.getControl("Save").click() 668 self.assertTrue(' Form has been saved' in self.browser.contents)669 self.assertTrue('Password has been set' in self.browser.contents) 669 670 # We are still logged in. Changing the password hasn't thrown us out. 670 671 self.browser.getLink("My Data").click()
Note: See TracChangeset for help on using the changeset viewer.