Ignore:
Timestamp:
21 Apr 2022, 08:07:31 (3 years ago)
Author:
Henrik Bettermann
Message:

Allow two identical subject/school combinations.

File:
1 edited

Legend:

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

    r16928 r16931  
    369369        self.browser.getControl(name="form.subj_comb").value = ['BEDCERT1']
    370370        self.browser.getControl("Finally Submit").click()
    371         self.assertTrue("Maximum number of applications per school exceeded."
    372             in self.browser.contents)
    373         # Same school with another subj_comb can be submitted
    374         self.assertEqual(self.utpapplicant.state, 'paid')
    375         self.browser.open(self.utpapplicant_path + '/edit')
    376         self.browser.getControl(name="form.school_utp").value = ['utp0012']
    377         self.browser.getControl(name="form.subj_comb").value = ['BEDCERT2']
    378         self.browser.getControl("Finally Submit").click()
     371        # UTP applications allow two, one is not enough
    379372        self.assertEqual(self.utpapplicant.state, 'submitted')
    380373        return
Note: See TracChangeset for help on using the changeset viewer.