Changeset 16183


Ignore:
Timestamp:
24 Jul 2020, 07:52:23 (4 years ago)
Author:
Henrik Bettermann
Message:

Fix test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests/test_browser.py

    r16164 r16183  
    302302        applicantscontainer.year = session_1
    303303        applicantscontainer.application_fee = 1.0 # Must be set but is not used.
    304         applicantscontainer.code = u'trans1234'
     304        applicantscontainer.code = u'tsc1234'
    305305        applicantscontainer.prefix = 'tscf'
    306         applicantscontainer.title = u'This is a trans container'
     306        applicantscontainer.title = u'This is a tsc container'
    307307        applicantscontainer.application_category = 'no'
    308308        applicantscontainer.mode = 'create'
     
    312312        applicantscontainer.startdate = datetime.datetime.now(pytz.utc) - delta
    313313        applicantscontainer.enddate = datetime.datetime.now(pytz.utc) + delta
    314         self.app['applicants']['trans1234'] = applicantscontainer
     314        self.app['applicants']['tsc1234'] = applicantscontainer
    315315        # Add an applicant
    316316        applicant = createObject('waeup.Applicant')
     
    318318        # because managers are allowed to edit this required field
    319319        applicant.reg_number = u'12345'
    320         self.app['applicants']['trans1234'].addApplicant(applicant)
     320        self.app['applicants']['tsc1234'].addApplicant(applicant)
    321321        IUserAccount(
    322             self.app['applicants']['trans1234'][
     322            self.app['applicants']['tsc1234'][
    323323            applicant.application_number]).setPassword('apwd')
    324324        # Login
Note: See TracChangeset for help on using the changeset viewer.