- Timestamp:
- 16 Mar 2012, 07:30:59 (13 years ago)
- Location:
- main/waeup.custom/trunk/src/waeup/custom/students/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.custom/trunk/src/waeup/custom/students/tests/test_browser.py
r7893 r7895 27 27 from waeup.custom.students.batching import StudentProcessor 28 28 from waeup.custom.testing import FunctionalLayer 29 from waeup.custom.configuration import SessionConfiguration30 29 31 30 STUDENT_SAMPLE_DATA = open( … … 94 93 95 94 layer = FunctionalLayer 96 97 def callback_url(self, payment_url, resp, apprAmt):98 return payment_url + (99 '/callback?echo=' +100 '&resp=%s' +101 '&desc=Something went wrong' +102 '&txnRef=p1331792385335' +103 '&payRef=' + '&retRef=' +104 '&cardNum=0' +105 '&apprAmt=%s' +106 '&url=http://xyz') % (resp, apprAmt)107 95 108 96 def test_manage_payments(self): -
main/waeup.custom/trunk/src/waeup/custom/students/tests/test_interswitch.py
r7894 r7895 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 import os19 import shutil20 import tempfile21 18 from hurry.workflow.interfaces import IWorkflowState 22 from zope.component.hooks import setSite, clearSite23 from waeup.kofa.app import University24 19 from waeup.kofa.students.tests.test_browser import StudentsFullSetup 25 from waeup.kofa.testing import FunctionalTestCase26 from waeup.kofa.students.batching import StudentProcessor as StudentProcessorBase27 from waeup.custom.students.batching import StudentProcessor28 20 from waeup.custom.testing import FunctionalLayer 29 from waeup.custom.configuration import SessionConfiguration30 21 31 22 class StudentUITests(StudentsFullSetup):
Note: See TracChangeset for help on using the changeset viewer.