Ignore:
Timestamp:
8 Apr 2012, 09:59:47 (13 years ago)
Author:
Henrik Bettermann
Message:

Add more phone prefixes.

Temporarily remove language selector.

Split pg application into pg full-time and pg part-time.

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  
    6161        # Add an two different applicants containers
    6262        self.pgcontainer = ApplicantsContainer()
    63         self.pgcontainer.code = u'pg2011'
    64         self.pgcontainer.prefix = u'pg'
    65         self.app['applicants']['pg2011'] = self.pgcontainer
     63        self.pgcontainer.code = u'pgft2011'
     64        self.pgcontainer.prefix = u'pgft'
     65        self.app['applicants']['pgft2011'] = self.pgcontainer
    6666        self.ugcontainer = ApplicantsContainer()
    6767        self.ugcontainer.code = u'app2011'
     
    8484        pgapplicant.firstname = u'Anna'
    8585        pgapplicant.lastname = u'Post'
    86         self.app['applicants']['pg2011'].addApplicant(pgapplicant)
     86        self.app['applicants']['pgft2011'].addApplicant(pgapplicant)
    8787        self.pgapplication_number = pgapplicant.application_number
    88         self.pgapplicant = self.app['applicants']['pg2011'][
     88        self.pgapplicant = self.app['applicants']['pgft2011'][
    8989            self.pgapplication_number]
    9090
     
    108108    def test_manage_and_view_applicant(self):
    109109        # Managers can manage pg applicants
    110         pgapplicant_path = ('http://localhost/app/applicants/pg2011/%s'
     110        pgapplicant_path = ('http://localhost/app/applicants/pgft2011/%s'
    111111            % self.pgapplication_number)
    112112        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/utils.py

    r8051 r8064  
    3838        'dp': ['Diploma Programmes', 'DPP'],
    3939        'pce': ['PCE Screening', 'PCE'],
    40         'pg': ['Postgraduate Programmes', 'PCE']
     40        'pgft': ['Postgraduate Full-Time Programmes', 'PG'],
     41        'pgpt': ['Postgraduate Part-Time Programmes', 'PG']
    4142        }
    4243
Note: See TracChangeset for help on using the changeset viewer.