Skip to content

Commit

Permalink
fix: Change regex in test_transaction_not_received_max_fee_too_big
Browse files Browse the repository at this point in the history
  • Loading branch information
franciszekjob committed Aug 7, 2024
1 parent a5a7bb4 commit 5ef488e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion starknet_py/tests/e2e/tests_on_networks/client_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@ async def test_transaction_not_received_max_fee_too_big(account_sepolia_testnet)
)
sign_invoke = await account.sign_invoke_v1(calls=call, max_fee=sys.maxsize)

with pytest.raises(ClientError, match=r".*max_fee.*"):
with pytest.raises(
ClientError,
match=r"Client failed with code 55. Message: Account validation failed. Data: Max fee \(\d+\) exceeds balance \(\d+\).",
):
await account.client.send_transaction(sign_invoke)


Expand Down

0 comments on commit 5ef488e

Please sign in to comment.