Ignore:
Timestamp:
13 Nov 2019, 06:48:34 (5 years ago)
Author:
Henrik Bettermann
Message:

Adjust tests to changes in Nigeria package.

File:
1 edited

Legend:

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

    r15791 r15803  
    9292        self.assertMatches('...Payment ticket created...',
    9393                           self.browser.contents)
    94         # Payment tickets can be downloaded without submitting the form.
     94        # Ticket can't be downloaded because payment gatewy is not specified
     95        self.assertFalse("Download payment slip" in self.browser.contents)
     96        self.applicant.payments[0].r_company = u'interswitch'
     97        self.browser.open(self.edit_path)
     98        self.browser.getLink(self.applicant.payments[0].p_id).click()
     99        # Payment tickets can now be downloaded without submitting the form.
    95100        self.browser.getLink("Download payment slip").click()
    96101        self.assertEqual(self.browser.headers['Content-Type'],
Note: See TracChangeset for help on using the changeset viewer.