Ignore:
Timestamp:
13 Jun 2012, 13:29:35 (13 years ago)
Author:
Henrik Bettermann
Message:

Add more attributes to webservice adapter.

File:
1 edited

Legend:

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

    r8703 r8708  
    732732        self.assertEqual(payment.amount_auth,200.0)
    733733        # Applicant is payee of the payment ticket.
    734         self.assertEqual(IPaymentWebservice(payment).payee, 'John Tester')
     734        self.assertEqual(
     735            IPaymentWebservice(payment).display_fullname, 'John Tester')
     736        self.assertEqual(
     737            IPaymentWebservice(payment).id, self.applicant.applicant_id)
     738        self.assertEqual(IPaymentWebservice(payment).faculty, '')
     739        self.assertEqual(IPaymentWebservice(payment).department, '')
    735740        # The pdf payment slip can't yet be opened
    736741        #self.browser.open(payment_url + '/payment_receipt.pdf')
Note: See TracChangeset for help on using the changeset viewer.