Ignore:
Timestamp:
16 Jan 2025, 02:08:45 (9 days ago)
Author:
Henrik Bettermann
Message:

CreateAllStudentsPage: Stop creation after 1000 students to avoid write
conflicts which sill occur even though transactions have formerly been
commited.

File:
1 edited

Legend:

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

    r17660 r17985  
    303303        self.browser.open(self.container_path + '/createallstudents')
    304304        self.assertFalse('Failed records' in self.browser.contents)
    305         self.assertTrue('Successfully created records' in self.browser.contents)
     305        self.assertTrue('1 student records have been successfully created.' in self.browser.contents)
    306306        logcontent = open(logfile).read()
    307307        self.assertTrue('applicants.browser.CreateAllStudentsPage - started in app%s' % session
     
    328328        self.applicant.course_admitted = self.certificate
    329329        self.browser.open(self.root_path + '/createallstudents')
    330         self.assertTrue('Successfully created records:' in self.browser.contents)
     330        self.assertTrue('1 student records have been successfully created.' in self.browser.contents)
    331331        logcontent = open(logfile).read()
    332332        self.assertTrue('applicants.browser.CreateAllStudentsPage - started in applicants'
Note: See TracChangeset for help on using the changeset viewer.