Changeset 8064 for main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Timestamp:
- 8 Apr 2012, 09:59:47 (13 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests.py
r8056 r8064 61 61 # Add an two different applicants containers 62 62 self.pgcontainer = ApplicantsContainer() 63 self.pgcontainer.code = u'pg 2011'64 self.pgcontainer.prefix = u'pg '65 self.app['applicants']['pg 2011'] = self.pgcontainer63 self.pgcontainer.code = u'pgft2011' 64 self.pgcontainer.prefix = u'pgft' 65 self.app['applicants']['pgft2011'] = self.pgcontainer 66 66 self.ugcontainer = ApplicantsContainer() 67 67 self.ugcontainer.code = u'app2011' … … 84 84 pgapplicant.firstname = u'Anna' 85 85 pgapplicant.lastname = u'Post' 86 self.app['applicants']['pg 2011'].addApplicant(pgapplicant)86 self.app['applicants']['pgft2011'].addApplicant(pgapplicant) 87 87 self.pgapplication_number = pgapplicant.application_number 88 self.pgapplicant = self.app['applicants']['pg 2011'][88 self.pgapplicant = self.app['applicants']['pgft2011'][ 89 89 self.pgapplication_number] 90 90 … … 108 108 def test_manage_and_view_applicant(self): 109 109 # Managers can manage pg applicants 110 pgapplicant_path = ('http://localhost/app/applicants/pg 2011/%s'110 pgapplicant_path = ('http://localhost/app/applicants/pgft2011/%s' 111 111 % self.pgapplication_number) 112 112 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/utils.py
r8051 r8064 38 38 'dp': ['Diploma Programmes', 'DPP'], 39 39 'pce': ['PCE Screening', 'PCE'], 40 'pg': ['Postgraduate Programmes', 'PCE'] 40 'pgft': ['Postgraduate Full-Time Programmes', 'PG'], 41 'pgpt': ['Postgraduate Part-Time Programmes', 'PG'] 41 42 } 42 43
Note: See TracChangeset for help on using the changeset viewer.