Changeset 11636


Ignore:
Timestamp:
13 May 2014, 10:28:53 (11 years ago)
Author:
Henrik Bettermann
Message:

Fix tests.

Location:
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/browser.py

    r11634 r11636  
    2020import grok
    2121from zope.interface import Interface
    22 from zope.component import getUtility, queryAdapter
     22from zope.component import queryAdapter
    2323from kofacustom.nigeria.interswitch.browser import (
    2424    InterswitchPaymentRequestWebservicePageStudent,
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py

    r11577 r11636  
    442442        self.assertTrue(
    443443            'zope.mgr - '
    444             'waeup.kwarapoly.interswitch.browser.InterswitchPaymentRequestWebservicePageStudent - '
     444            'waeup.kwarapoly.interswitch.browser.CustomInterswitchPaymentRequestWebservicePageStudent - '
    445445            'W1000000 - successful schoolfee payment: p3543612043224\n'
    446446            in logcontent)
     
    613613    def test_webservice(self):
    614614        self.prepare_special_container()
     615        IWorkflowState(self.special_applicant).setState('started')
    615616        self.browser.open(self.special_manage_path)
    616617        self.browser.getControl("Add online").click()
     
    652653        logcontent = open(logfile).read()
    653654        self.assertTrue(
    654             'zope.mgr - waeup.kwarapoly.interswitch.browser.InterswitchPaymentRequestWebservicePageApplicant'
     655            'zope.mgr - waeup.kwarapoly.interswitch.browser.CustomInterswitchPaymentRequestWebservicePageApplicant'
    655656            ' - special_anything - successful payment: p3543612043224\n'
    656657            in logcontent)
Note: See TracChangeset for help on using the changeset viewer.