示例#1
0
 def setUpClass(cls):
     cls._PAYMENT_AMOUNT_EUR = '0.01'
     cls._PAYMENT_CURRENCY = 'EUR'
     cls._PAYMENT_DESCRIPTION = 'Python unit test'
     cls._PAYMENT_CHAT_TEXT_MESSAGE = 'send from python test'
     cls._USER_ID = Config.get_user_id()
     cls._COUNTER_PARTY_OTHER_USER = Config.get_pointer_counter_party_other(
     )
     cls._COUNTER_PARTY_SAME_USER = Config.get_pointer_counter_party_self()
     cls._MONETARY_ACCOUNT_ID = Config.get_monetary_account_id_1()
     cls._API_CONTEXT = cls._get_api_context()
示例#2
0
 def setUpClass(cls):
     cls._REQUEST_AMOUNT_EUR = '0.01'
     cls._REQUEST_CURRENCY = 'EUR'
     cls._FIELD_DESCRIPTION = 'Python unit test request'
     cls._FIELD_STATUS = 'ACCEPTED'
     cls._FIRST_INDEX = 0
     cls._USER_ID = Config.get_user_id()
     cls._COUNTER_PARTY_SAME_USER = Config.get_pointer_counter_party_self()
     cls._MONETARY_ACCOUNT_ID = Config.get_monetary_account_id_1()
     cls._MONETARY_ACCOUNT_ID2 = Config.get_monetary_account_id_2()
     cls._API_CONTEXT = cls._get_api_context()