Changeset 13341 for main/waeup.kwarapoly
- Timestamp:
- 20 Oct 2015, 14:36:27 (9 years ago)
- Location:
- main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/browser.py
r13331 r13341 193 193 mgr.update() 194 194 missing_files = [] 195 required = ( 196 'birthcertificateupload', 197 'acceptanceletterupload', 198 'lgaidentificationupload', 199 'firstsittingresultupload', 200 'resultstatementupload', 201 'refereeletterupload', 202 'statutorydeclarationupload', 203 ) 204 195 205 for viewlet in mgr.viewlets: 206 if viewlet.__name__ not in required: 207 continue 196 208 if viewlet.show_viewlet and not viewlet.file_exists: 197 209 missing_files += (viewlet.label, ) -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/tests/test_browser.py
r13331 r13341 580 580 self.assertTrue( 581 581 'Missing: Birth Certificate, Acceptance Letter, LGA Identification, ' 582 'First Sitting Result, Second Sitting Result, ' 583 'Higher Qualification Result, Advanced Level Result, Certificate, ' 584 'Evidence of Name, Result Statement, Guarantor/Referee Letter, ' 582 'First Sitting Result, Result Statement, Guarantor/Referee Letter, ' 585 583 'Affidavit of Good Conduct' 586 584 in self.browser.contents) … … 599 597 self.assertTrue( 600 598 'Missing: Acceptance Letter, LGA Identification, ' 601 'First Sitting Result, Second Sitting Result, ' 602 'Higher Qualification Result, Advanced Level Result, Certificate, ' 603 'Evidence of Name, Result Statement, Guarantor/Referee Letter, ' 599 'First Sitting Result, Result Statement, Guarantor/Referee Letter, ' 604 600 'Affidavit of Good Conduct' 605 601 in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.