Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Dec 15, 2023
1 parent 1e21db0 commit f7d9442
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/expected_traces.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
LOCAL_TRACE = r"""
Call trace for '0x([A-Fa-f0-9]{64})'
tx\.origin=0x[a-fA-F0-9]{40}
ContractA\.methodWithoutArguments\(\) -> 0x00\.\.5174 \[\d+ gas\]
ContractA\.methodWithoutArguments\(\) -> 0x00\.\.93bc \[\d+ gas\]
├── SYMBOL\.supercluster\(x=234444\) -> \[
│ \[23523523235235, 11111111111, 234444\],
│ \[
Expand Down
2 changes: 1 addition & 1 deletion tests/test_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def test_get_call_tree(connected_provider, sender, receiver):
call_tree = connected_provider.get_call_tree(transfer.txn_hash)
assert isinstance(call_tree, CallTreeNode)
assert call_tree.call_type == CallType.CALL.value
assert repr(call_tree) == "0xc89D42189f0450C2b2c3c61f58Ec5d628176A1E7.0x()"
assert repr(call_tree) == "0x70997970C51812dc3A010C7d01b50e0d17dc79C8.0x()"


def test_request_timeout(connected_provider, config):
Expand Down

0 comments on commit f7d9442

Please sign in to comment.