Skip to content

Commit fd533bc

Browse files
committed
Tests fix
1 parent 0fdf3ac commit fd533bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pyCryptomusAPI/tests.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_api_functions():
4444
invoice = run_and_print(lambda: client.create_invoice(1, "USDT", str(uuid.uuid4())))
4545
wallet = run_and_print(lambda: client.create_wallet("TRON", "TRX", str(uuid.uuid4())))
4646
run_and_print(lambda: client.block_wallet(wallet_uuid = (wallet.uuid if wallet else "123"))) # Server error (reason unknown)
47-
run_and_print(lambda: client.block_wallet_refund(wallet.address, wallet_uuid = (wallet.uuid if wallet else "123"))) # Server error (it's ok)
47+
run_and_print(lambda: client.block_wallet_refund((wallet.address if wallet else "123"), wallet_uuid = (wallet.uuid if wallet else "123"))) # Server error (it's ok)
4848
run_and_print(lambda: client.payment_information(invoice_uuid=(invoice.uuid if invoice else "123")))
4949
run_and_print(lambda: client.refund((wallet.address if wallet else "123"), True, invoice_uuid=(invoice.uuid if invoice else "123"))) # Server error (looks ok)
5050
run_and_print(lambda: client.payment_services())

0 commit comments

Comments
 (0)