- Timestamp:
- 16 Mar 2015, 12:53:09 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.ikoba/trunk/src/waeup/ikoba/payments/tests/test_browser.py
r12767 r12775 1 1 ## $Id: test_browser.py 12762 2015-03-14 13:49:29Z henrik $ 2 ## 2 ## 3 3 ## Copyright (C) 2015 Uli Fouquet & Henrik Bettermann 4 4 ## This program is free software; you can redistribute it and/or modify … … 6 6 ## the Free Software Foundation; either version 2 of the License, or 7 7 ## (at your option) any later version. 8 ## 8 ## 9 9 ## This program is distributed in the hope that it will be useful, 10 10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of 11 11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 12 ## GNU General Public License for more details. 13 ## 13 ## 14 14 ## You should have received a copy of the GNU General Public License 15 15 ## along with this program; if not, write to the Free Software … … 22 22 import os 23 23 from decimal import Decimal 24 from waeup.ikoba.testing import FunctionalLayer , FunctionalTestCase24 from waeup.ikoba.testing import FunctionalLayer 25 25 from waeup.ikoba.payments.payment import Payment 26 26 from waeup.ikoba.payments.interfaces import IPayer, IPayable 27 from waeup.ikoba.browser.tests.test_pdf import samples_dir28 27 from waeup.ikoba.products.productoptions import ProductOption 29 28 from waeup.ikoba.customers.tests.test_browser import CustomersFullSetup … … 67 66 self.assertTrue('Empty search string' in self.browser.contents) 68 67 self.browser.getControl(name="searchtype").value = ['payment_id'] 69 self.browser.getControl(name="searchterm").value = self.payment.payment_id 68 self.browser.getControl( 69 name="searchterm").value = self.payment.payment_id 70 70 self.browser.getControl("Find payment(s)").click() 71 71 self.assertTrue( … … 82 82 logcontent = open(logfile).read() 83 83 self.assertTrue( 84 'INFO - zope.mgr - payments.browser.PaymentsContainerManagePage - removed: %s' 84 ('INFO - zope.mgr - payments.browser.' 85 'PaymentsContainerManagePage - removed: %s') 85 86 % self.payment.payment_id in logcontent)
Note: See TracChangeset for help on using the changeset viewer.