Changeset 13012 for main/waeup.kofa/trunk/src/waeup/kofa/payments
- Timestamp:
- 28 May 2015, 13:55:06 (10 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/payments
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/payments/interfaces.py
r13005 r13012 47 47 """ 48 48 p_id = Attribute('Payment identifier') 49 created_online = Attribute('True if not imported')50 49 51 50 p_category = schema.Choice( -
main/waeup.kofa/trunk/src/waeup/kofa/payments/payment.py
r13005 r13012 44 44 logger_format_str = '"%(asctime)s","%(user)s",%(message)s' 45 45 46 created_online = False 46 #def logger_info(self, comment=None): 47 # """Get the logger's info method. 48 # """ 49 # self.logger.info('%s' % comment) 50 # return 47 51 48 52 def __init__(self): -
main/waeup.kofa/trunk/src/waeup/kofa/payments/tests.py
r13005 r13012 26 26 from waeup.kofa.testing import (FunctionalLayer, FunctionalTestCase) 27 27 28 class Payments TestCase(FunctionalTestCase):28 class PaymentsContainerTestCase(FunctionalTestCase): 29 29 30 30 layer = FunctionalLayer … … 57 57 self.assertRaises( 58 58 NotImplementedError, container.clear) 59 # created_online is always False60 payment = OnlinePayment()61 self.assertEqual(payment.created_online, False)62 return
Note: See TracChangeset for help on using the changeset viewer.