Changeset 10835 for main/waeup.fceokene


Ignore:
Timestamp:
10 Dec 2013, 08:00:30 (11 years ago)
Author:
Henrik Bettermann
Message:

Fix webservice test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py

    r10833 r10835  
    353353            in self.browser.contents)
    354354
    355 
    356355    @external_test
    357356    def test_webservice(self):
     357        self.browser.getControl("Add online").click()
     358        self.assertMatches('...ticket created...',
     359                           self.browser.contents)
     360        self.assertMatches(
     361            '...<span>1000.0</span>...',
     362            self.browser.contents)
     363        self.payment_url = self.browser.url
     364        self.browser.open(self.manage_path)
     365        ctrl = self.browser.getControl(name='val_id')
     366        self.value = ctrl.options[0]
    358367        # First we have open InterswitchPageStudent to set provider_amt
    359368        # and gateway_amt
Note: See TracChangeset for help on using the changeset viewer.