Changeset 6900 for main/waeup.sirp/trunk


Ignore:
Timestamp:
15 Oct 2011, 05:20:30 (13 years ago)
Author:
Henrik Bettermann
Message:

Add test for displaying payment ticket.

File:
1 edited

Legend:

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

    r6899 r6900  
    633633        ctrl = self.browser.getControl(name='val_id')
    634634        value = ctrl.options[0]
     635        self.browser.getLink(value).click()
     636        self.assertMatches('...Amount Authorized...',
     637                           self.browser.contents)
     638        self.browser.open(self.payments_student_path + '/manage')
     639        ctrl = self.browser.getControl(name='val_id')
     640        value = ctrl.options[0]
    635641        ctrl.getControl(value=value).selected = True
    636642        self.browser.getControl("Remove selected", index=0).click()
Note: See TracChangeset for help on using the changeset viewer.