Ignore:
Timestamp:
16 Mar 2015, 12:53:09 (10 years ago)
Author:
uli
Message:

pep8, pyflakes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/payments/tests/test_browser.py

    r12767 r12775  
    11## $Id: test_browser.py 12762 2015-03-14 13:49:29Z henrik $
    2 ## 
     2##
    33## Copyright (C) 2015 Uli Fouquet & Henrik Bettermann
    44## This program is free software; you can redistribute it and/or modify
     
    66## the Free Software Foundation; either version 2 of the License, or
    77## (at your option) any later version.
    8 ## 
     8##
    99## This program is distributed in the hope that it will be useful,
    1010## but WITHOUT ANY WARRANTY; without even the implied warranty of
    1111## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1212## GNU General Public License for more details.
    13 ## 
     13##
    1414## You should have received a copy of the GNU General Public License
    1515## along with this program; if not, write to the Free Software
     
    2222import os
    2323from decimal import Decimal
    24 from waeup.ikoba.testing import FunctionalLayer, FunctionalTestCase
     24from waeup.ikoba.testing import FunctionalLayer
    2525from waeup.ikoba.payments.payment import Payment
    2626from waeup.ikoba.payments.interfaces import IPayer, IPayable
    27 from waeup.ikoba.browser.tests.test_pdf import samples_dir
    2827from waeup.ikoba.products.productoptions import ProductOption
    2928from waeup.ikoba.customers.tests.test_browser import CustomersFullSetup
     
    6766        self.assertTrue('Empty search string' in self.browser.contents)
    6867        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
    7070        self.browser.getControl("Find payment(s)").click()
    7171        self.assertTrue(
     
    8282        logcontent = open(logfile).read()
    8383        self.assertTrue(
    84             'INFO - zope.mgr - payments.browser.PaymentsContainerManagePage - removed: %s'
     84            ('INFO - zope.mgr - payments.browser.'
     85             'PaymentsContainerManagePage - removed: %s')
    8586            % self.payment.payment_id in logcontent)
Note: See TracChangeset for help on using the changeset viewer.