- Timestamp:
- 21 Nov 2024, 03:53:25 (5 weeks ago)
- 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 1 1 SCHOOLS_UTP = { 2 2 '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'), 4 4 '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'), 7 7 'utp0006': ('Zone 01','Otite, Ogaminana, Obangede','Audu Wokili Academy, Nagazi Uvete'), 8 8 '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'),11 9 'utp0011': ('Zone 01','Otite, Ogaminana, Obangede','NIOMP Staff Secondary School, Itakpe'), 12 10 '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'), 16 12 'utp0016': ('Zone 01','Otite, Ogaminana, Obangede','LGEA UBE MODEL SEC. SCHOOL, ADAVI SECRETARIAT'), 17 13 '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'), 24 15 'utp0031': ('Zone 01','Otite, Ogaminana, Obangede','Ebira Muslim Community College, Okengwe'), 25 'utp0032': ('Zone 01','Otite, Ogaminana, Obangede','Gifted Academy, Nagazi-eba'),26 16 # Additional School 22/04/2022 27 17 'utp0041': ('Zone 01','Otite, Ogaminana, Obangede','Amazing Grace Secondary School, Nagazi-Uvete'), 28 'utp0042': ('Zone 01','Otite, Ogaminana, Obangede','UBE/JSS Ozuri Ogaminana'),29 18 'utp0043': ('Zone 01','Otite, Ogaminana, Obangede','Science Leadership Academy, Eika Adagu'), 30 'utp0044': ('Zone 01','Otite, Ogaminana, Obangede','Queen of Apostle College, Okene'),31 19 # Additional School 29/03/2023 32 20 'utp0048': ('Zone 01','Otite, Ogaminana, Obangede','Unity Model Secondary School, FCE Okene II'), 33 21 'utp0049': ('Zone 01','Otite, Ogaminana, Obangede','Ebira Community Secondary School, Ogaminana II'), 34 22 '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'),36 23 # Additional School 13/03/2024 37 24 'utp0052': ('Zone 01','Otite, Ogaminana, Obangede','A One Comprehensive School, Eika Adagu'), 38 25 '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'), 43 27 'utp0058': ('Zone 01','Otite, Ogaminana, Obangede','FAAAZ International Academy, Nagazi'), 44 28 # 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 318 318 self.browser.open(self.utpapplicant_path + '/edit') 319 319 self.browser.getControl(name="form.email").value = 'xx@yy.zz' 320 self.browser.getControl(name="form.school_utp").value = ['utp001 0']320 self.browser.getControl(name="form.school_utp").value = ['utp0011'] 321 321 self.browser.getControl(name="form.subj_comb").value = ['BEDCERT1'] 322 322 image = open(SAMPLE_IMAGE, 'rb') … … 329 329 self.assertTrue( 330 330 'Application submitted' in self.browser.contents) 331 # Create 10 applicants who already selected utp001 0331 # Create 10 applicants who already selected utp0011 332 332 for i in range(1,11): 333 333 dummy = createObject(u'waeup.Applicant') 334 334 dummy.firstname = u'John' 335 335 dummy.lastname = u'Doe %s' %i 336 dummy.school_utp = 'utp001 0'336 dummy.school_utp = 'utp0011' 337 337 self.app['applicants'][ 338 338 self.utpcontainer.code].addApplicant(dummy) … … 341 341 self.utpapplicant.locked = False 342 342 self.browser.open(self.utpapplicant_path + '/edit') 343 self.browser.getControl(name="form.school_utp").value = ['utp001 0']343 self.browser.getControl(name="form.school_utp").value = ['utp0011'] 344 344 self.browser.getControl("Finally Submit").click() 345 345 self.assertTrue("Maximum number of applications per school exceeded."
Note: See TracChangeset for help on using the changeset viewer.