Changeset 9690 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 20 Nov 2012, 06:17:36 (12 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r9687 r9690 767 767 # GPA has been properly calculated and is shown on the page 768 768 self.browser.open(self.student_path + '/studycourse/100') 769 self.assertTrue('3.0 0' in self.browser.contents)769 self.assertTrue('3.0' in self.browser.contents) 770 770 self.assertEqual(self.student['studycourse']['100'].gpa, 3.0) 771 771 # Carry-over courses will be collected when next level is created -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_export.py
r9684 r9690 219 219 self.assertEqual( 220 220 result, 221 'level,level_session,level_verdict,validated_by,validation_date,' 221 'gpa,level,level_session,level_verdict,total_credits,' 222 'validated_by,validation_date,' 222 223 'student_id,number_of_tickets,certcode\r\n' 223 ' ,,0,,,,0,\r\n'224 '0.0,,,0,0,,,,0,\r\n' 224 225 ) 225 226 return … … 236 237 self.assertEqual( 237 238 result, 238 'level,level_session,level_verdict,validated_by,validation_date,' 239 'gpa,level,level_session,level_verdict,total_credits,' 240 'validated_by,validation_date,' 239 241 'student_id,number_of_tickets,certcode\r\n' 240 ' 100,2012,A,,,A111111,1,CERT1\r\n'242 '0.0,100,2012,A,100,,,A111111,1,CERT1\r\n' 241 243 ) 242 244 return … … 251 253 self.assertEqual( 252 254 result, 253 'level,level_session,level_verdict,validated_by,validation_date,' 255 'gpa,level,level_session,level_verdict,total_credits,' 256 'validated_by,validation_date,' 254 257 'student_id,number_of_tickets,certcode\r\n' 255 ' 100,2012,A,,,A111111,1,CERT1\r\n'258 '0.0,100,2012,A,100,,,A111111,1,CERT1\r\n' 256 259 ) 257 260 return … … 265 268 self.assertEqual( 266 269 result, 267 'level,level_session,level_verdict,validated_by,validation_date,' 270 'gpa,level,level_session,level_verdict,total_credits,' 271 'validated_by,validation_date,' 268 272 'student_id,number_of_tickets,certcode\r\n' 269 ' 100,2012,A,,,A111111,1,CERT1\r\n'273 '0.0,100,2012,A,100,,,A111111,1,CERT1\r\n' 270 274 ) 271 275 return
Note: See TracChangeset for help on using the changeset viewer.