2020-07-29 20:31:09 +02:00
|
|
|
#!/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)
|