Ignore:
Timestamp:
17 Jan 2016, 08:47:11 (9 years ago)
Author:
Henrik Bettermann
Message:

Adjust to changes in base package.

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  
    9191            'scd_sit_no,scd_sit_results,scd_sit_type,screening_date,'
    9292            '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#,'
    9595            'Anna M. Tester,anna@sample.com,,,,,,,,,,,Anna,,,,,,'
    96             '[u\'2016-01-11 10:05:17 WAT - Application initialized by system\']'
     96            '[u\'2016-01-17 08:15:47 WAT - Application initialized by system\']'
    9797            ',,,,,,,,,,,,Tester,,0,M.,NG,"Some notice\nin lines.",,,'
    9898            'any password,+234-123-12345#,,,123456,,,,,,,'
     
    106106            self.outfile,
    107107            ['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'],
    124121            mode='create')
    125122        num_succ, num_fail, finished_path, failed_path = result
     
    135132        result = processor.doImport(
    136133            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'],
    154148            mode='update')
    155149        num_succ, num_fail, finished_path, failed_path = result
  • main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/browser/tests.py

    r11711 r13629  
    4949        shutil.rmtree(self.dc_root)
    5050
     51    def test_dummytest(self):
     52        return
     53
  • main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/students/payments.py

    r10765 r13629  
    2323from zope.interface import implementedBy
    2424from waeup.kofa.students.interfaces import IStudentNavigation
    25 from waeup.kofa.students.payments import (
    26     StudentOnlinePayment, StudentOnlinePaymentFactory)
    2725from waeup.kofa.utils.helpers import attrs_to_fields
     26from kofacustom.nigeria.students.payments import (
     27    NigeriaStudentOnlinePayment, NigeriaStudentOnlinePaymentFactory)
    2828from kofacustom.skeleton.students.interfaces import ICustomStudentOnlinePayment
    2929
    30 class CustomStudentOnlinePayment(StudentOnlinePayment):
     30class CustomStudentOnlinePayment(NigeriaStudentOnlinePayment):
    3131    """This is a custom online payment for students.
    3232
     
    5050    CustomStudentOnlinePayment, omit=['display_item'])
    5151
    52 class CustomStudentOnlinePaymentFactory(StudentOnlinePaymentFactory):
     52class CustomStudentOnlinePaymentFactory(NigeriaStudentOnlinePaymentFactory):
    5353    """A factory for student online payments.
    5454    """
  • main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/students/tests/test_browser.py

    r10765 r13629  
    3636from kofacustom.skeleton.testing import FunctionalLayer
    3737
     38
     39class 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  
    4949            'clr_code,date_of_birth,def_adm,disabled,email,emp2_end,'
    5050            '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,'
    5254            'fst_sit_date,fst_sit_fname,fst_sit_no,fst_sit_results,'
    5355            'fst_sit_type,hq2_degree,hq2_disc,hq2_matric_no,hq2_school,'
     
    6365            'current_level,current_session\r\nmy adm code,,,,'
    6466            '"[(\'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\')]"'
    6668            ',,,,,,,,,,,,,,,,Tester,,,234,M.,NG,,,,,,,,,'
    6769            '"Studentroad 21\nLagos 123456\n",,+234-123-12345#,,123,,,,,'
Note: See TracChangeset for help on using the changeset viewer.