Changeset 13629
- Timestamp:
- 17 Jan 2016, 08:47:11 (9 years ago)
- Location:
- main/kofacustom.skeleton/trunk/src/kofacustom/skeleton
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/applicants/tests/test_browser.py
r13587 r13629 91 91 'scd_sit_no,scd_sit_results,scd_sit_type,screening_date,' 92 92 'screening_score,screening_venue,sex,special,special_application,' 93 'state,student_id,suspended,translated_state\r\n ,'94 ' dp2011_654321,,654321,dp2011,CERT1,CERT1,CERT1,1981-02-04#,'93 'state,student_id,suspended,translated_state\r\n' 94 ',dp2011_654321,,654321,dp2011,CERT1,CERT1,CERT1,1981-02-04#,' 95 95 'Anna M. Tester,anna@sample.com,,,,,,,,,,,Anna,,,,,,' 96 '[u\'2016-01-1 1 10:05:17 WAT - Application initialized by system\']'96 '[u\'2016-01-17 08:15:47 WAT - Application initialized by system\']' 97 97 ',,,,,,,,,,,,Tester,,0,M.,NG,"Some notice\nin lines.",,,' 98 98 'any password,+234-123-12345#,,,123456,,,,,,,' … … 106 106 self.outfile, 107 107 ['aggregate','ignore_applicant_id','application_date','ignore_application_number', 108 'container_code','course1','course2','course_admitted', 109 'date_of_birth','ignore_display_fullname','email','emp2_end', 110 'emp2_position','emp2_reason','emp2_start','emp_end', 111 'emp_position','emp_reason','emp_start','employer', 112 'employer2','firstname','fst_sit_date','fst_sit_fname', 113 'fst_sit_no','fst_sit_results','fst_sit_type','ignore_history', 114 'hq_degree','hq_disc','hq_fname','hq_matric_no','hq_school', 115 'hq_session','hq_type','jamb_reg_number','jamb_score', 116 'jamb_subjects','jamb_subjects_list','lastname','lga', 117 'locked','middlename','nationality','notice','nysc_lga', 118 'nysc_year','password','phone','presently_inst','programme_type', 119 'reg_number','result_uploaded','scd_sit_date','scd_sit_fname', 120 'scd_sit_no','scd_sit_results','scd_sit_type','screening_date', 121 'screening_score','screening_venue','sex','ignore_special', 122 'special_application','state','student_id','suspended', 123 'translated_state'], 108 'container_code','course1','course2','course_admitted','date_of_birth', 109 'ignore_display_fullname','email','emp2_end','emp2_position','emp2_reason', 110 'emp2_start','emp_end','emp_position','emp_reason','emp_start','employer', 111 'employer2','firstname','fst_sit_date','fst_sit_fname','fst_sit_no', 112 'fst_sit_results','fst_sit_type','ignore_history','hq_degree','hq_disc', 113 'hq_fname','hq_matric_no','hq_school','hq_session','hq_type', 114 'jamb_reg_number','jamb_score','jamb_subjects','jamb_subjects_list', 115 'lastname','lga','locked','middlename','nationality','notice','nysc_lga', 116 'nysc_year','password','phone','presently_inst','programme_type', 117 'reg_number','result_uploaded','scd_sit_date','scd_sit_fname', 118 'scd_sit_no','scd_sit_results','scd_sit_type','screening_date', 119 'screening_score','screening_venue','sex','ignore_special','special_application', 120 'state','student_id','suspended','ignore_translated_state'], 124 121 mode='create') 125 122 num_succ, num_fail, finished_path, failed_path = result … … 135 132 result = processor.doImport( 136 133 self.outfile, 137 ['aggregate','ignore_applicant_id','application_date','ignore_application_number', 138 'ignore_container_code','course1','course2','course_admitted', 139 'date_of_birth','ignore_display_fullname','email','emp2_end', 140 'emp2_position','emp2_reason','emp2_start','emp_end', 141 'emp_position','emp_reason','emp_start','employer', 142 'employer2','firstname','fst_sit_date','fst_sit_fname', 143 'fst_sit_no','fst_sit_results','fst_sit_type','ignore_history', 144 'hq_degree','hq_disc','hq_fname','hq_matric_no','hq_school', 145 'hq_session','hq_type','jamb_reg_number','jamb_score', 146 'jamb_subjects','jamb_subjects_list','lastname','lga', 147 'locked','middlename','nationality','notice','nysc_lga', 148 'nysc_year','password','phone','presently_inst','programme_type', 149 'reg_number','result_uploaded','scd_sit_date','scd_sit_fname', 150 'scd_sit_no','scd_sit_results','scd_sit_type','screening_date', 151 'screening_score','screening_venue','sex','ignore_special', 152 'special_application','state','student_id','suspended', 153 'translated_state'], 134 ['aggregate','ignore_applicant_id','application_date','ignore_application_number', 135 'ignore_container_code','course1','course2','course_admitted','date_of_birth', 136 'ignore_display_fullname','email','emp2_end','emp2_position','emp2_reason', 137 'emp2_start','emp_end','emp_position','emp_reason','emp_start','employer', 138 'employer2','firstname','fst_sit_date','fst_sit_fname','fst_sit_no', 139 'fst_sit_results','fst_sit_type','ignore_history','hq_degree','hq_disc', 140 'hq_fname','hq_matric_no','hq_school','hq_session','hq_type', 141 'jamb_reg_number','jamb_score','jamb_subjects','jamb_subjects_list', 142 'lastname','lga','locked','middlename','nationality','notice','nysc_lga', 143 'nysc_year','password','phone','presently_inst','programme_type', 144 'reg_number','result_uploaded','scd_sit_date','scd_sit_fname', 145 'scd_sit_no','scd_sit_results','scd_sit_type','screening_date', 146 'screening_score','screening_venue','sex','ignore_special','special_application', 147 'state','student_id','suspended','ignore_translated_state'], 154 148 mode='update') 155 149 num_succ, num_fail, finished_path, failed_path = result -
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/browser/tests.py
r11711 r13629 49 49 shutil.rmtree(self.dc_root) 50 50 51 def test_dummytest(self): 52 return 53 -
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/students/payments.py
r10765 r13629 23 23 from zope.interface import implementedBy 24 24 from waeup.kofa.students.interfaces import IStudentNavigation 25 from waeup.kofa.students.payments import (26 StudentOnlinePayment, StudentOnlinePaymentFactory)27 25 from waeup.kofa.utils.helpers import attrs_to_fields 26 from kofacustom.nigeria.students.payments import ( 27 NigeriaStudentOnlinePayment, NigeriaStudentOnlinePaymentFactory) 28 28 from kofacustom.skeleton.students.interfaces import ICustomStudentOnlinePayment 29 29 30 class CustomStudentOnlinePayment( StudentOnlinePayment):30 class CustomStudentOnlinePayment(NigeriaStudentOnlinePayment): 31 31 """This is a custom online payment for students. 32 32 … … 50 50 CustomStudentOnlinePayment, omit=['display_item']) 51 51 52 class CustomStudentOnlinePaymentFactory( StudentOnlinePaymentFactory):52 class CustomStudentOnlinePaymentFactory(NigeriaStudentOnlinePaymentFactory): 53 53 """A factory for student online payments. 54 54 """ -
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/students/tests/test_browser.py
r10765 r13629 36 36 from kofacustom.skeleton.testing import FunctionalLayer 37 37 38 39 class StudentsContainerUITests(StudentsFullSetup): 40 # Tests for StudentsContainer class views and pages 41 42 layer = FunctionalLayer 43 44 def test_dummytest(self): 45 return -
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/students/tests/test_export.py
r13115 r13629 49 49 'clr_code,date_of_birth,def_adm,disabled,email,emp2_end,' 50 50 'emp2_position,emp2_reason,emp2_start,emp_end,emp_position,' 51 'emp_reason,emp_start,employer,employer2,firstname,former_matric,' 51 'emp_reason,emp_start,employer,employer2,' 52 'financial_clearance_date,financially_cleared_by,' 53 'firstname,former_matric,' 52 54 'fst_sit_date,fst_sit_fname,fst_sit_no,fst_sit_results,' 53 55 'fst_sit_type,hq2_degree,hq2_disc,hq2_matric_no,hq2_school,' … … 63 65 'current_level,current_session\r\nmy adm code,,,,' 64 66 '"[(\'printing_craft_practice\', \'A1\')]",my clr code,1981-02-04#,,,' 65 'anna@sample.com,,,,,,,,,,, Anna,,,,,"[(\'printing_craft_practice\', \'A1\')]"'67 'anna@sample.com,,,,,,,,,,,,,Anna,,,,,"[(\'printing_craft_practice\', \'A1\')]"' 66 68 ',,,,,,,,,,,,,,,,Tester,,,234,M.,NG,,,,,,,,,' 67 69 '"Studentroad 21\nLagos 123456\n",,+234-123-12345#,,123,,,,,'
Note: See TracChangeset for help on using the changeset viewer.