Ignore:
Timestamp:
26 Aug 2014, 09:09:39 (10 years ago)
Author:
Henrik Bettermann
Message:

Add more exam subjects.

Location:
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_export.py

    r11739 r11780  
    2020        self.setup_for_export()
    2121        result_entry = ResultEntry(
    22             NigeriaKofaUtils.EXAM_SUBJECTS_DICT.keys()[0],
    23             NigeriaKofaUtils.EXAM_GRADES[0][0]
     22            sorted(NigeriaKofaUtils.EXAM_SUBJECTS_DICT.keys())[0],
     23            sorted(NigeriaKofaUtils.EXAM_GRADES)[0][0]
    2424            )
    2525        self.student.alr_results = [
     
    6363            'suspended,suspended_comment,password,state,history,certcode,is_postgrad,'
    6464            'current_level,current_session\r\nmy adm code,,,,'
    65             '"[(\'visual_art\', \'A1\')]",0,my clr code,1981-02-04#,,,'
    66             'anna@sample.com,,,,,,,,,,,Anna,,,,,"[(\'visual_art\', \'A1\')]"'
     65            '"[(\'accounts\', \'A\')]",0,my clr code,1981-02-04#,,,'
     66            'anna@sample.com,,,,,,,,,,,Anna,,,,,"[(\'accounts\', \'A\')]"'
    6767            ',,,,,,,,,,,,,,,,Tester,,,234,M.,NG,,,,,,,,,'
    6868            '"Studentroad 21\nLagos 123456\n",,+234-123-12345#,123,,,,,'
    69             '"[(\'visual_art\', \'A1\')]",,f,A111111,0,,,created,'
     69            '"[(\'accounts\', \'A\')]",,f,A111111,0,,,created,'
    7070            '[u\'2012-11-06 13:16:41 WAT - Record created by system\'],'
    7171            'CERT1,0,200,2012\r\n',
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/utils/utils.py

    r11587 r11780  
    139139        'second_written': 'Second Written',
    140140        'pract_tests': 'Practical Tests',
     141        # Added 25/08/2014
     142        'animal_husbandry_(alt_a)': 'Animal Husbandry (Alt A)',
     143        'animal_husbandry_(alt_b)': 'Animal Husbandry (Alt B)',
     144        'auto_electrical_work': 'Auto Electrical Work',
     145        'auto_mechanical_work': 'Auto Mechanical Work',
     146        'catering_craft_practice': 'Catering Craft Practice',
     147        'civic_education': 'Civic Education',
     148        'computer_studies': 'Computer Studies',
     149        'cosmetology': 'Cosmetology',
     150        'data_processing': 'Data Processing',
     151        'dyeing_&_bleaching': 'Dyeing & Bleaching',
     152        'electrical_installation_and_maintenance_work': 'Electrical Installation and Maintenance Work',
     153        'fisheries_(alt_a)_ghana_candidates': 'Fisheries (Alt A) Ghana Candidates',
     154        'fisheries_(alt_b)_nigeria_candidates': 'Fisheries (Alt B) Nigeria Candidates',
     155        'garment_making': 'Garment Making',
     156        'general_agriculture': 'General Agriculture',
     157        'gsm_phones_maintenance_and_repairs': 'Gsm Phones Maintenance and Repairs',
     158        'health_education': 'Health Education',
     159        'insurance': 'Insurance',
     160        'painting_and_decorating': 'Painting and Decorating',
     161        'photography': 'Photography',
     162        'printing_craft_practice': 'Printing Craft Practice',
     163        'store_management': 'Store Management',
     164        'textiles': 'Textiles',
     165
    141166        }
    142167
Note: See TracChangeset for help on using the changeset viewer.