Changeset 15307 for main/waeup.uniben/trunk/src/waeup/uniben/students/tests
- Timestamp:
- 28 Jan 2019, 11:19:24 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py
r15268 r15307 736 736 def test_edit_level_by_co(self): 737 737 # Create clearance officer 738 self.app['users'].addUser('mrclear', 'mr clearsecret')738 self.app['users'].addUser('mrclear', 'mrClearsecret1') 739 739 self.app['users']['mrclear'].email = 'mrclear@foo.ng' 740 740 self.app['users']['mrclear'].title = 'Carlo Pitter' … … 749 749 self.browser.open(self.login_path) 750 750 self.browser.getControl(name="form.login").value = 'mrclear' 751 self.browser.getControl(name="form.password").value = 'mr clearsecret'751 self.browser.getControl(name="form.password").value = 'mrClearsecret1' 752 752 self.browser.getControl("Login").click() 753 753 self.assertMatches('...You logged in...', self.browser.contents) … … 890 890 def test_handle_clearance_by_co(self): 891 891 # Create clearance officer 892 self.app['users'].addUser('mrclear', 'mr clearsecret')892 self.app['users'].addUser('mrclear', 'mrClearsecret1') 893 893 self.app['users']['mrclear'].email = 'mrclear@foo.ng' 894 894 self.app['users']['mrclear'].title = 'Carlo Pitter' … … 902 902 self.browser.open(self.login_path) 903 903 self.browser.getControl(name="form.login").value = 'mrclear' 904 self.browser.getControl(name="form.password").value = 'mr clearsecret'904 self.browser.getControl(name="form.password").value = 'mrClearsecret1' 905 905 self.browser.getControl("Login").click() 906 906 self.assertMatches('...You logged in...', self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.