Changeset 7146 for main


Ignore:
Timestamp:
19 Nov 2011, 18:09:31 (13 years ago)
Author:
Henrik Bettermann
Message:

Adjust test to new requirements in base package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.custom/trunk/src/waeup/custom/students/tests.py

    r7021 r7146  
    4343        self.browser.open(self.payments_student_path + '/addop')
    4444        self.browser.getControl("Create ticket").click()
     45        self.assertMatches('...This payment ticket already exists...',
     46                           self.browser.contents)
     47        # Remove all payments so that we can add a school fee payment again
     48        for payment in self.student['payments'].keys():
     49            del self.student['payments'][payment]
     50        self.browser.open(self.payments_student_path + '/addop')
     51        self.browser.getControl("Create ticket").click()
    4552        self.assertMatches('...ticket created...',
    4653                           self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.