Changeset 17962 for main


Ignore:
Timestamp:
21 Nov 2024, 03:53:25 (5 weeks ago)
Author:
Henrik Bettermann
Message:

Update schools.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/schools_utp.py

    r17720 r17962  
    11SCHOOLS_UTP = {
    22    'utp0001': ('Zone 01','Otite, Ogaminana, Obangede','Adavi Local Govt. Science Secondary School, Nagazi Eba'),
    3     'utp0002': ('Zone 01','Otite, Ogaminana, Obangede','Champion Group Of Schools (Secondary Section), Eika Adagu'),
     3    'utp0002': ('Zone 01','Otite, Ogaminana, Obangede','Champion Group Of Schools (Secondary Section), Eika Adagu I'),
    44    'utp0003': ('Zone 01','Otite, Ogaminana, Obangede','De-Icon Stars International School, Kabba Junction'),
    5     'utp0004': ('Zone 01','Otite, Ogaminana, Obangede','Ebira Community Secondary School, Ogaminana'),
    6     'utp0005': ('Zone 01','Otite, Ogaminana, Obangede','Government Science Secondary School, Ogaminana '),
     5    'utp0004': ('Zone 01','Otite, Ogaminana, Obangede','Ebira Community Secondary School , Ogaminana I'),
     6    'utp0005': ('Zone 01','Otite, Ogaminana, Obangede','Government Science Secondary School, Ogaminana I'),
    77    'utp0006': ('Zone 01','Otite, Ogaminana, Obangede','Audu Wokili Academy, Nagazi Uvete'),
    88    'utp0007': ('Zone 01','Otite, Ogaminana, Obangede','Acess Secondary school, nagazi uvete'),
    9     'utp0009': ('Zone 01','Otite, Ogaminana, Obangede','LENNON MEMORIAL COLLEGE AGEVA'),
    10     'utp0010': ('Zone 01','Otite, Ogaminana, Obangede','Community Secondary School, Obangede'),
    119    'utp0011': ('Zone 01','Otite, Ogaminana, Obangede','NIOMP Staff Secondary School, Itakpe'),
    1210    'utp0012': ('Zone 01','Otite, Ogaminana, Obangede','LGEA UBE SEC. School, Nagazi Uvete, opposite ECSS Ogaminana'),
    13     'utp0013': ('Zone 01','Otite, Ogaminana, Obangede','Achievers International College, Nagazi'),
    14     'utp0014': ('Zone 01','Otite, Ogaminana, Obangede','Unity Model Secondary School, FCE Okene'),
    15     'utp0015': ('Zone 01','Otite, Ogaminana, Obangede','MIKAB College, Nagazi'),
     11    'utp0014': ('Zone 01','Otite, Ogaminana, Obangede','Unity Model Secondary School, FCE Okene I'),
    1612    'utp0016': ('Zone 01','Otite, Ogaminana, Obangede','LGEA UBE MODEL SEC.  SCHOOL, ADAVI SECRETARIAT'),
    1713    'utp0017': ('Zone 01','Otite, Ogaminana, Obangede','ABDULAZEEZ ATTAH MEMORIAL COLLEGE, OKENE'),
    18     'utp0020': ('Zone 01','Otite, Ogaminana, Obangede','PRINCE OF PEACE ACADEMY, KABBA JUNCTION'),
    19     'utp0021': ('Zone 01','Otite, Ogaminana, Obangede','LGEA UBE SCHOOL ABOBO OPPOSITE NIOMP GATE'),
    20     'utp0022': ('Zone 01','Otite, Ogaminana, Obangede','OKOMANYI GROUP OF SCHOOLS (SECONDARY SECTION)'),
    21     'utp0023': ('Zone 01','Otite, Ogaminana, Obangede','WISDOM DOMINION INTERNATIONAL SCHOOL, ADAVI EBA'),
    22     'utp0027': ('Zone 01','Otite, Ogaminana, Obangede','Soladad International School, GRA, Okene'),
    23     'utp0030': ('Zone 01','Otite, Ogaminana, Obangede','Government Day Secondary School, Inoziomi'),
     14    'utp0022': ('Zone 01','Otite, Ogaminana, Obangede','OKOMANYI GROUP OF SCHOOLS'),
    2415    'utp0031': ('Zone 01','Otite, Ogaminana, Obangede','Ebira Muslim Community College, Okengwe'),
    25     'utp0032': ('Zone 01','Otite, Ogaminana, Obangede','Gifted Academy, Nagazi-eba'),
    2616     # Additional School 22/04/2022
    2717    'utp0041': ('Zone 01','Otite, Ogaminana, Obangede','Amazing Grace Secondary School, Nagazi-Uvete'),
    28     'utp0042': ('Zone 01','Otite, Ogaminana, Obangede','UBE/JSS Ozuri Ogaminana'),
    2918    'utp0043': ('Zone 01','Otite, Ogaminana, Obangede','Science Leadership Academy, Eika Adagu'),
    30     'utp0044': ('Zone 01','Otite, Ogaminana, Obangede','Queen of Apostle College, Okene'),
    3119    # Additional School 29/03/2023
    3220    'utp0048': ('Zone 01','Otite, Ogaminana, Obangede','Unity Model Secondary School, FCE Okene II'),
    3321    'utp0049': ('Zone 01','Otite, Ogaminana, Obangede','Ebira Community Secondary School, Ogaminana II'),
    3422    'utp0050': ('Zone 01','Otite, Ogaminana, Obangede','Government Science Secondary School, Ogaminana II'),
    35     'utp0051': ('Zone 01','Otite, Ogaminana, Obangede','NIOMP Staff Secondary School, Itakpe II'),
    3623    # Additional School 13/03/2024
    3724    'utp0052': ('Zone 01','Otite, Ogaminana, Obangede','A One Comprehensive School, Eika Adagu'),
    3825    'utp0053': ('Zone 01','Otite, Ogaminana, Obangede','Higher Ground Academy, Nagazi'),
    39     'utp0054': ('Zone 01','Otite, Ogaminana, Obangede','Community Secondary School, Eika-Ohizeruyi'),
    40     'utp0055': ('Zone 01','Otite, Ogaminana, Obangede','Community Secondary School, Kuroko'),
    41     'utp0056': ('Zone 01','Otite, Ogaminana, Obangede','Williesth Intl School, Abobo'),
    42     'utp0057': ('Zone 01','Otite, Ogaminana, Obangede','LGEA UBE Sec. School, Opposite Rio Hotel, Nagazi Uvete'),
     26    'utp0057': ('Zone 01','Otite, Ogaminana, Obangede','LGEA UBE Sec. School, Opposite Rio Hotel, Eika Adagu I'),
    4327    'utp0058': ('Zone 01','Otite, Ogaminana, Obangede','FAAAZ International Academy, Nagazi'),
    4428    # Additional School  18/03/2024
    45     'utp0059': ('Zone 01','Otite, Ogaminana, Obangede','Champion Group Of Schools 2 (Secondary Section), Eika Adagu'),
    46 }
     29    'utp0059': ('Zone 01','Otite, Ogaminana, Obangede','Champion Group Of Schools (Secondary Section), Eika Adagu II'),
     30    # Additional School  20/11/2024
     31    'utp0060': ('Zone 01','Otite, Ogaminana, Obangede','Government Science Secondary School, Ogaminana III'),
     32    'utp0061': ('Zone 01','Otite, Ogaminana, Obangede','LGEA UBE Sec. School, Opposite Rio Hotel, Eika Adagu II'),
     33    'utp0062': ('Zone 01','Otite, Ogaminana, Obangede','De Great Monarch Academy, Opposite Majid Filling Stattion, Eika Adagu'),
     34    'utp0063': ('Zone 01','Otite, Ogaminana, Obangede','De Great Monarch Academy, Opposite Majid Filling Stattion, Eika Adagu'),
     35    'utp0064': ('Zone 01','Otite, Ogaminana, Obangede','Start Smart Secondary School, Eika Adagu'),
     36    'utp0065': ('Zone 01','Otite, Ogaminana, Obangede','Success College, Ozuri'),
     37    'utp0066': ('Zone 02','Okene Metropolis','Government Girls Secondary School, Otutu'),
     38    'utp0067': ('Zone 03','Kuroko-Inoziomi-GRA','Government Science Secondary School, Enyidudu-Inuziomi'),
     39    'utp0068': ('zone 05','Adogo Ajaokuta','Community Comprehensive High School,Eganyi, Kogi State'),
     40    'utp0069': ('Zone 07','Kabba Aiyetoro Gbedde','St. Augustine College, Kabba'),
     41    'utp0070': ('Zone 07','Kabba Aiyetoro Gbedde','St. Barnabas Secondary School, Kabba'),
     42    'utp0071': ('Zone 07','Kabba Aiyetoro Gbedde','St. Monica College, Kabba'),
     43    'utp0072': ('Zone 11','Lokoja','Army Day Secondary School, Lokoja'),
     44}   
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/tests/test_browser.py

    r17722 r17962  
    318318        self.browser.open(self.utpapplicant_path + '/edit')
    319319        self.browser.getControl(name="form.email").value = 'xx@yy.zz'
    320         self.browser.getControl(name="form.school_utp").value = ['utp0010']
     320        self.browser.getControl(name="form.school_utp").value = ['utp0011']
    321321        self.browser.getControl(name="form.subj_comb").value = ['BEDCERT1']
    322322        image = open(SAMPLE_IMAGE, 'rb')
     
    329329        self.assertTrue(
    330330            'Application submitted' in self.browser.contents)
    331         # Create 10 applicants who already selected utp0010
     331        # Create 10 applicants who already selected utp0011
    332332        for i in range(1,11):
    333333            dummy = createObject(u'waeup.Applicant')
    334334            dummy.firstname = u'John'
    335335            dummy.lastname = u'Doe %s' %i
    336             dummy.school_utp = 'utp0010'
     336            dummy.school_utp = 'utp0011'
    337337            self.app['applicants'][
    338338                self.utpcontainer.code].addApplicant(dummy)
     
    341341        self.utpapplicant.locked = False
    342342        self.browser.open(self.utpapplicant_path + '/edit')
    343         self.browser.getControl(name="form.school_utp").value = ['utp0010']
     343        self.browser.getControl(name="form.school_utp").value = ['utp0011']
    344344        self.browser.getControl("Finally Submit").click()
    345345        self.assertTrue("Maximum number of applications per school exceeded."
Note: See TracChangeset for help on using the changeset viewer.