summaryrefslogtreecommitdiff
path: root/tests/test_payments.py
blob: 20cec9295df4d7d19d4249c1864a1324b14edce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/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
    result = wallet.cmd("preparePay", {"talerPayUri": pay_uri})
    print_json(result)