Changeset 15317
- Timestamp:
- 31 Jan 2019, 22:32:53 (6 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r15247 r15317 616 616 CC = translate(_('Cat.'), target_language=portal_language) 617 617 if self.show_results: 618 Score = translate(_('Score'), target_language=portal_language)618 TotalScore = translate(_('Total Score'), target_language=portal_language) 619 619 #CA = translate(_('CA'), target_language=portal_language) 620 620 Grade = translate(_('Grade'), target_language=portal_language) … … 637 637 (Cred, 'credits', 1.4), 638 638 (CC, 'course_category', 1.2), 639 ( Score, 'score', 1.4),639 (TotalScore, 'total_score', 1.4), 640 640 #(CA, 'ca', 1.4), 641 641 (Grade, 'grade', 1.4), -
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.