Ignore:
Timestamp:
4 Jan 2024, 12:26:53 (10 months ago)
Author:
Henrik Bettermann
Message:

Increase year range.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py

    r17245 r17660  
    4444def year_range():
    4545    curr_year = datetime.now().year
    46     return range(curr_year - 6, curr_year + 5)
     46    return range(curr_year - 8, curr_year + 5)
    4747
    4848class ApplicantBalancePaymentCategorySource(ContextualDictSourceFactoryBase):
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_applicantcopier.py

    r17550 r17660  
    305305        self.assertTrue('Successfully created records' in self.browser.contents)
    306306        logcontent = open(logfile).read()
    307         self.assertTrue('applicants.browser.CreateAllStudentsPage - started in app2021'
     307        self.assertTrue('applicants.browser.CreateAllStudentsPage - started in app%s' % session
    308308        in logcontent)
    309309        self.assertTrue('%s - Student record created (K1000000)' % self.applicant.applicant_id
    310310        in logcontent)
    311         self.assertTrue('applicants.browser.CreateAllStudentsPage - created in app2021: %s' % self.applicant.applicant_id
     311        self.assertTrue('applicants.browser.CreateAllStudentsPage - created in app%s: %s' % (
     312            session, self.applicant.applicant_id)
    312313        in logcontent)
    313314
Note: See TracChangeset for help on using the changeset viewer.