Ignore:
Timestamp:
9 Apr 2012, 06:34:38 (13 years ago)
Author:
Henrik Bettermann
Message:

Remove Nigerian lgas from base package. LGAs are not core data.

Use the COUNTRIES instead of NATS.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py

    r8052 r8069  
    3434from waeup.kofa.payments.interfaces import IOnlinePayment
    3535from waeup.kofa.schoolgrades import ResultEntryField
    36 from waeup.kofa.students.vocabularies import (
    37     lgas_vocab, GenderSource)
     36from waeup.kofa.students.vocabularies import GenderSource
    3837from waeup.kofa.university.vocabularies import (
    3938    course_levels, AppCatSource, CertificateSource)
     
    343342        required = True,
    344343        )
    345     lga = schema.Choice(
    346         source = lgas_vocab,
    347         title = _(u'State/LGA'),
    348         default = 'foreigner',
    349         required = False,
    350         )
    351344    sex = schema.Choice(
    352345        title = _(u'Sex'),
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py

    r8048 r8069  
    157157        self.browser.getControl(name="form.course1").value = ['CERT1']
    158158        self.browser.getControl(name="form.date_of_birth").value = '09/09/1988'
    159         self.browser.getControl(name="form.lga").value = ['foreigner']
    160159        self.browser.getControl(name="form.sex").value = ['m']
    161160        self.browser.getControl(name="form.email").value = 'xx@yy.zz'
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_export.py

    r8057 r8069  
    140140            'applicant_id,application_date,application_number,course1,course2,'
    141141            'course_admitted,date_of_birth,display_fullname,email,firstname,'
    142             'history,lastname,lga,locked,middlename,notice,password,phone,'
     142            'history,lastname,locked,middlename,notice,password,phone,'
    143143            'reg_number,screening_score,screening_venue,sex,state,'
    144144            'student_id\r\n'
     
    147147        self.assertTrue(
    148148            'Application initialized by system\'],Tester,'
    149             'foreigner,0,,,,,,,,,initialized,\r\n'
     149            '0,,,,,,,,,initialized,\r\n'
    150150            in result)
    151151        return
     
    164164            'applicant_id,application_date,application_number,course1,course2,'
    165165            'course_admitted,date_of_birth,display_fullname,email,firstname,'
    166             'history,lastname,lga,locked,middlename,notice,password,phone,'
     166            'history,lastname,locked,middlename,notice,password,phone,'
    167167            'reg_number,screening_score,screening_venue,sex,state,'
    168168            'student_id\r\n'
     
    172172        self.assertTrue(
    173173            'Application initialized by system\'],'
    174             'Tester,foreigner,0,M.,"Some notice\nin lines.",any password,'
     174            'Tester,0,M.,"Some notice\nin lines.",any password,'
    175175            '+234-123-12345,123456,98,Exam Room,f,initialized,\r\n'
    176176            in result)
     
    188188            'applicant_id,application_date,application_number,course1,course2,'
    189189            'course_admitted,date_of_birth,display_fullname,email,firstname,'
    190             'history,lastname,lga,locked,middlename,notice,password,phone,'
     190            'history,lastname,locked,middlename,notice,password,phone,'
    191191            'reg_number,screening_score,screening_venue,sex,state,'
    192192            'student_id\r\n'
     
    196196        self.assertTrue(
    197197            'Application initialized by system\'],'
    198             'Tester,foreigner,0,M.,"Some notice\nin lines.",any password,'
     198            'Tester,0,M.,"Some notice\nin lines.",any password,'
    199199            '+234-123-12345,123456,98,Exam Room,f,initialized,\r\n'
    200200            in result)
Note: See TracChangeset for help on using the changeset viewer.