Changeset 9132 for main/waeup.kofa/trunk/src/waeup/kofa/students/tests
- Timestamp:
- 31 Aug 2012, 14:52:33 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_student.py
r9131 r9132 267 267 self.assertRaises( 268 268 RequiredMissing, self.student.transfer, self.certificate2) 269 success = self.student.transfer(self.certificate2, current_session=2013) 269 success = self.student.transfer(self.certificate2, 270 current_session=2013, entry_session=2010) 270 271 self.assertEqual(self.student['studycourse_1'].certificate.code, 'CERT1') 271 272 self.assertEqual(self.student['studycourse'].certificate.code, 'CERT2') … … 294 295 295 296 # Students can be transferred (only) two times. 296 success = self.student.transfer(self.certificate, current_session=2013) 297 success = self.student.transfer(self.certificate, 298 current_session=2013, entry_session=2010) 297 299 self.assertTrue(success) 298 success = self.student.transfer(self.certificate2, current_session=2013) 300 success = self.student.transfer(self.certificate2, 301 current_session=2013, entry_session=2010) 299 302 self.assertFalse(success) 300 303 self.assertEqual([i for i in self.student.keys()],
Note: See TracChangeset for help on using the changeset viewer.