Changeset 8524 for main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests
- Timestamp:
- 26 May 2012, 05:42:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r8420 r8524 87 87 applicantscontainer.prefix = 'app' 88 88 applicantscontainer.year = 2009 89 applicantscontainer.title = u'This is the app2009 container' 89 90 applicantscontainer.application_category = 'basic' 90 91 applicantscontainer.mode = 'create' … … 692 693 self.browser.contents) 693 694 payment_url = self.browser.url 695 payment_id = self.applicant.keys()[0] 696 payment = self.applicant[payment_id] 697 self.assertEqual(payment.p_item,'This is the app2009 container') 698 self.assertEqual(payment.p_session,2009) 699 self.assertEqual(payment.p_category,'application') 700 self.assertEqual(payment.amount_auth,200.0) 694 701 # The pdf payment slip can't yet be opened 695 702 #self.browser.open(payment_url + '/payment_receipt.pdf') … … 701 708 Unauthorized, self.browser.open, payment_url + '/approve') 702 709 # We approve the payment by bypassing the view 703 payment_id = self.applicant.keys()[0]704 payment = self.applicant[payment_id]705 710 payment.approve() 706 711 # The payment slip can be downloaded now
Note: See TracChangeset for help on using the changeset viewer.