wallet-core/tests/test_payments.py

12 lines
291 B
Python
Raw Normal View History

#!/usr/bin/env python3
from tests import print_json
def test_payments(exchange, bank, merchant, wallet):
merchant.create_instance()
pay_uri = merchant.gen_pay_uri("TESTKUDOS:2")
# TODO fix
2020-07-30 13:58:09 +02:00
result = wallet.cmd("preparePay", {"talerPayUri": pay_uri})
print_json(result)