Ignore:
Timestamp:
12 May 2012, 07:01:04 (13 years ago)
Author:
Henrik Bettermann
Message:

Payment methods do now all return a success flag, a flash message string and a log string. All these adjustments are necessary for waeup.uniben.

File:
1 edited

Legend:

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

    r8420 r8428  
    12931293        self.browser.open(payment_url)
    12941294        self.browser.getLink("Approve payment").click()
    1295         self.assertMatches('...Valid callback received...',
     1295        self.assertMatches('...Successful payment...',
    12961296                          self.browser.contents)
    12971297
     
    13441344        self.browser.getLink(value).click()
    13451345        self.browser.open(self.browser.url + '/approve')
    1346         self.assertMatches('...Valid callback received...',
     1346        self.assertMatches('...Successful payment...',
    13471347                          self.browser.contents)
    13481348        expected = '''...
     
    13831383        # In the base package they can 'use' a fake approval view
    13841384        self.browser.open(payment_url + '/fake_approve')
    1385         self.assertMatches('...Valid callback received...',
     1385        self.assertMatches('...Successful payment...',
    13861386                          self.browser.contents)
    13871387        expected = '''...
     
    14571457        self.assertEqual(len(self.app['accesscodes']['SFE-0']),0)
    14581458        self.browser.open(self.browser.url + '/fake_approve')
    1459         self.assertMatches('...Valid callback received...',
     1459        self.assertMatches('...Successful payment...',
    14601460                          self.browser.contents)
    14611461
Note: See TracChangeset for help on using the changeset viewer.