Changeset 8733 for main/waeup.aaue/trunk


Ignore:
Timestamp:
15 Jun 2012, 12:17:30 (12 years ago)
Author:
Henrik Bettermann
Message:

It seems that also the order is important.

Location:
main/waeup.aaue/trunk/src/waeup/aaue/etranzact
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/etranzact/browser.py

    r8731 r8733  
    6161                results[0].p_session).title
    6262            status = results[0].p_state
    63             self.output = ('FULL_NAME=%s&MATRIC_NO=%s&' +
    64                 'ACADEMIC_SESSION=%s&PAYMENT_TYPE=%s&' +
     63            self.output = (
     64                'FULL_NAME=%s&' +
    6565                'FACULTY=%s&' +
    66                 'DEPARTMENT=%s&PROGRAMME_TYPE=%s&' +
    67                 'RETURN_TYPE=%s&FEE_AMOUNT=%s&' +
    68                 'TRANSACTION_STATUS=%s') % (full_name, matric_no,
    69                 academic_session, payment_type, faculty, department,
    70                 programme_type, PAYEE_ID, amount, status)
     66                'DEPARTMENT=%s&' +
     67                'RETURN_TYPE=%s&' +
     68                'PROGRAMME_TYPE=%s&' +
     69                'PAYMENT_TYPE=%s&' +
     70                'ACADEMIC_SESSION=%s&' +
     71                'MATRIC_NO=%s&' +
     72                'FEE_AMOUNT=%s&' +
     73                'TRANSACTION_STATUS=%s') % (full_name, faculty,
     74                department, PAYEE_ID, programme_type, payment_type,
     75                academic_session, matric_no, amount, status)
    7176        return
    7277
  • main/waeup.aaue/trunk/src/waeup/aaue/etranzact/tests.py

    r8731 r8733  
    7373        self.browser.open('http://localhost/app/feerequest?PAYEE_ID=%s' % self.p_id)
    7474        self.assertEqual(self.browser.contents,
    75             'FULL_NAME=Anna Tester&MATRIC_NO=E1000000'
    76             '&ACADEMIC_SESSION=2004/2005&PAYMENT_TYPE=School Fee&FACULTY=fac1'
    77             '&DEPARTMENT=dep1&PROGRAMME_TYPE=CERT1'
    78             '&RETURN_TYPE=%s&FEE_AMOUNT=40000.0'
    79             '&TRANSACTION_STATUS=unpaid' % self.p_id)
     75            'FULL_NAME=Anna Tester&'
     76            'FACULTY=fac1&'
     77            'DEPARTMENT=dep1&'
     78            'RETURN_TYPE=%s&'
     79            'PROGRAMME_TYPE=CERT1&'
     80            'PAYMENT_TYPE=School Fee&'
     81            'ACADEMIC_SESSION=2004/2005&'
     82            'MATRIC_NO=E1000000&'
     83            'FEE_AMOUNT=40000.0&'
     84            'TRANSACTION_STATUS=unpaid' % self.p_id)
    8085
    8186    @external_test
Note: See TracChangeset for help on using the changeset viewer.