Changeset 15317 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 31 Jan 2019, 22:32:53 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r15240 r15317 55 55 56 56 def login_as_lecturer(self): 57 self.app['users'].addUser('mrslecturer', 'mrslecturer secret')57 self.app['users'].addUser('mrslecturer', 'mrslecturerSecret1') 58 58 self.app['users']['mrslecturer'].email = 'mrslecturer@foo.ng' 59 59 self.app['users']['mrslecturer'].title = u'Mercedes Benz' … … 74 74 self.browser.getControl(name="form.login").value = 'mrslecturer' 75 75 self.browser.getControl( 76 name="form.password").value = 'mrslecturer secret'76 name="form.password").value = 'mrslecturerSecret1' 77 77 self.browser.getControl("Login").click() 78 78 # Store reused urls/paths … … 1160 1160 1161 1161 def test_handle_courses_by_lecturer(self): 1162 self.app['users'].addUser('mrslecturer', 'mrslecturer secret')1162 self.app['users'].addUser('mrslecturer', 'mrslecturerSecret1') 1163 1163 self.app['users']['mrslecturer'].email = 'mrslecturer@foo.ng' 1164 1164 self.app['users']['mrslecturer'].title = u'Mercedes Benz' … … 1178 1178 self.browser.open(self.login_path) 1179 1179 self.browser.getControl(name="form.login").value = 'mrslecturer' 1180 self.browser.getControl(name="form.password").value = 'mrslecturer secret'1180 self.browser.getControl(name="form.password").value = 'mrslecturerSecret1' 1181 1181 self.browser.getControl("Login").click() 1182 1182 self.browser.getLink("My Courses").click()
Note: See TracChangeset for help on using the changeset viewer.