Changeset 13005 for main/waeup.kofa/trunk/src/waeup/kofa/payments
- Timestamp:
- 27 May 2015, 15:26:26 (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
r12568 r13005 47 47 """ 48 48 p_id = Attribute('Payment identifier') 49 created_online = Attribute('True if not imported') 49 50 50 51 p_category = schema.Choice( -
main/waeup.kofa/trunk/src/waeup/kofa/payments/payment.py
r12894 r13005 44 44 logger_format_str = '"%(asctime)s","%(user)s",%(message)s' 45 45 46 #def logger_info(self, comment=None): 47 # """Get the logger's info method. 48 # """ 49 # self.logger.info('%s' % comment) 50 # return 46 created_online = False 51 47 52 48 def __init__(self): -
main/waeup.kofa/trunk/src/waeup/kofa/payments/tests.py
r9469 r13005 26 26 from waeup.kofa.testing import (FunctionalLayer, FunctionalTestCase) 27 27 28 class Payments ContainerTestCase(FunctionalTestCase):28 class PaymentsTestCase(FunctionalTestCase): 29 29 30 30 layer = FunctionalLayer … … 57 57 self.assertRaises( 58 58 NotImplementedError, container.clear) 59 # created_online is always False 60 payment = OnlinePayment() 61 self.assertEqual(payment.created_online, False) 62 return
Note: See TracChangeset for help on using the changeset viewer.