Changeset 13936 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 14 Jun 2016, 08:53:30 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r13935 r13936 4055 4055 self.login_as_lecturer() 4056 4056 self.browser.open(self.edit_scores_url) 4057 self.browser.getLink("Download editable tickets").click()4057 self.browser.getLink("Download csv file").click() 4058 4058 self.assertEqual(self.browser.headers['Status'], '200 Ok') 4059 4059 self.assertEqual(self.browser.headers['Content-Type'], … … 4072 4072 upload_file = StringIO(UPLOAD_CSV_TEMPLATE % '65') 4073 4073 upload_ctrl.add_file(upload_file, 'text/csv', 'myscores.csv') 4074 self.browser.getControl("Update scores").click()4074 self.browser.getControl("Update editable scores from").click() 4075 4075 # value changed 4076 4076 self.assertEqual( … … 4120 4120 upload_ctrl = self.browser.getControl(name='uploadfile:file') 4121 4121 upload_ctrl.add_file(StringIO(content), mimetype, name) 4122 self.browser.getControl("Update scores").click()4122 self.browser.getControl("Update editable scores").click() 4123 4123 self.assertEqual( 4124 4124 self.student['studycourse']['100']['COURSE1'].score, 55)
Note: See TracChangeset for help on using the changeset viewer.