Changeset 12767
- Timestamp:
- 15 Mar 2015, 09:42:41 (10 years ago)
- Location:
- main/waeup.ikoba/trunk/src/waeup/ikoba/payments
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/payments/browser.py
r12766 r12767 39 39 40 40 grok.context(IIkobaObject) # Make IIkobaObject the default context 41 grok.templatedir(' templates')41 grok.templatedir('browser_templates') 42 42 43 43 -
main/waeup.ikoba/trunk/src/waeup/ikoba/payments/demo_provider.py
r12756 r12767 15 15 16 16 17 grok.templatedir(' templates')17 grok.templatedir('browser_templates') 18 18 19 19 -
main/waeup.ikoba/trunk/src/waeup/ikoba/payments/tests/test_browser.py
r12766 r12767 54 54 self.add_product_option(self.contract) 55 55 self.setup_payment() 56 57 56 # Managers can access the pages of payments section 58 57 # and can remove payments … … 65 64 self.assertEqual(self.browser.url, self.payments_path + '/manage') 66 65 # Payment can be found 67 68 66 self.browser.getControl("Find payment(s)").click() 69 67 self.assertTrue('Empty search string' in self.browser.contents) … … 74 72 '<a href="http://localhost/app/customers/K1000000/contracts/CON1">' 75 73 in self.browser.contents) 76 77 74 # Payments can be removed 78 75 ctrl = self.browser.getControl(name='entries') … … 80 77 self.browser.getControl("Remove selected", index=0).click() 81 78 self.assertTrue('Successfully removed' in self.browser.contents) 82 83 84 79 # All actions are being logged 85 80 logfile = os.path.join( … … 89 84 'INFO - zope.mgr - payments.browser.PaymentsContainerManagePage - removed: %s' 90 85 % self.payment.payment_id in logcontent) 91
Note: See TracChangeset for help on using the changeset viewer.