Changeset 13885 for main/waeup.kofa/trunk
- Timestamp:
- 7 Jun 2016, 09:25:02 (9 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/export.py
r13871 r13885 364 364 if context is not None: 365 365 student = context.student 366 if name in ('student_id', 'fullname') and student is not None: 366 if name in ('matric_number', 367 'reg_number', 368 'student_id', 369 'display_fullname',) and student is not None: 367 370 value = getattr(student, name, None) 368 371 return super( -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r13868 r13885 3835 3835 self.assertEqual(self.browser.contents, 3836 3836 'matric_number,reg_number,student_id,display_fullname,level,code,' 3837 'level_session,score\r\n,,K1000000,,100,COURSE1,2004,\r\n') 3837 'level_session,score\r\n234,123,K1000000,Anna Tester,' 3838 '100,COURSE1,2004,\r\n') 3838 3839 self.assertEqual(len(self.app['datacenter'].running_exports), 1) 3839 3840 job_id = self.app['datacenter'].running_exports[0][0]
Note: See TracChangeset for help on using the changeset viewer.