Skip to content

Commit

Permalink
Tests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Badiboy committed Dec 11, 2022
1 parent 0fdf3ac commit fd533bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyCryptomusAPI/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_api_functions():
invoice = run_and_print(lambda: client.create_invoice(1, "USDT", str(uuid.uuid4())))
wallet = run_and_print(lambda: client.create_wallet("TRON", "TRX", str(uuid.uuid4())))
run_and_print(lambda: client.block_wallet(wallet_uuid = (wallet.uuid if wallet else "123"))) # Server error (reason unknown)
run_and_print(lambda: client.block_wallet_refund(wallet.address, wallet_uuid = (wallet.uuid if wallet else "123"))) # Server error (it's ok)
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)
run_and_print(lambda: client.payment_information(invoice_uuid=(invoice.uuid if invoice else "123")))
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)
run_and_print(lambda: client.payment_services())
Expand Down

0 comments on commit fd533bc

Please sign in to comment.