Changeset 14362 for main/waeup.aaue/trunk/src/waeup/aaue/students/tests
- Timestamp:
- 22 Dec 2016, 20:22:28 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r14355 r14362 116 116 # sgpa = 82 / 23 117 117 self.assertEqual( 118 self.student['studycourse']['100'].gpa_params[0], 3.56 5)118 self.student['studycourse']['100'].gpa_params[0], 3.56) 119 119 # imported gpa values override calculated values 120 120 studylevel.imported_gpa = 4.3 … … 388 388 self.assertEqual(self.browser.headers['Content-Type'], 389 389 'text/csv; charset=UTF-8') 390 self.assertEqual(self.browser.contents, 'matric_number,student_id, '391 'level,code,level_session,ca,score\r\n234,E1000000, '390 self.assertEqual(self.browser.contents, 'matric_number,student_id,display_fullname,' 391 'level,code,level_session,ca,score\r\n234,E1000000,"TESTER, Anna",' 392 392 '100,COURSE1,2003,,55\r\n') 393 393 self.browser.open(self.edit_prev_scores_url) … … 453 453 self.assertEqual(td[0][1]['level'].level_session, 2006) 454 454 self.assertEqual(td[0][1]['tickets_1'][0].code, 'ANYCODE') 455 self.assertEqual(td[1], 3.5 7)455 self.assertEqual(td[1], 3.56) 456 456 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 457 457 self.browser.open(self.student_path + '/studycourse/transcript')
Note: See TracChangeset for help on using the changeset viewer.