Ignore:
Timestamp:
15 Dec 2020, 11:09:15 (4 years ago)
Author:
Henrik Bettermann
Message:

Repair test.

File:
1 edited

Legend:

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

    r16354 r16355  
    655655        self.assertTrue('ticket created' in self.browser.contents)
    656656        value = self.student['payments'].keys()[0]
     657        self.student['payments'][value].p_state = 'paid'
    657658        self.browser.getLink(value).click()
    658659        self.assertTrue('Amount Authorized' in self.browser.contents)
     
    660661        self.assertEqual(self.student['payments'][value].amount_auth, 51900.0)
    661662        self.student['payments'][value].r_company = u'interswitch'
    662         self.browser.open(self.browser.url + '/payment_slip.pdf')
     663        self.browser.getLink("Download").click()
    663664        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    664665        self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf')
Note: See TracChangeset for help on using the changeset viewer.