Skip to content

Commit

Permalink
fix: integration tests (#341)
Browse files Browse the repository at this point in the history
fix integration tests that were regressing as of f58c33c
  • Loading branch information
DanielSchiavini authored Nov 19, 2024
1 parent 8e0524b commit dff181d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tests/integration/fork/test_abi_contract.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ def test_call_trace_abi_and_vyper(crvusd):
@external
def foo(x: IERC20):
extcall x.transfer(self, 100)
"""
""",
name="VyperContract",
)
boa.env.set_balance(boa.env.eoa, 1000)
with boa.reverts():
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/network/anvil/test_network_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_deployment_db_overriden_contract_name():
contract_name = "test_deployment"

# contract is written to deployments db
contract = boa.loads(code, arg, contract_name=contract_name)
contract = boa.loads(code, arg, name=contract_name)

# test get_deployments()
deployment = next(db.get_deployments())
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/network/sepolia/test_sepolia_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_deployment_db():
contract_name = "test_deployment"

# contract is written to deployments db
contract = boa.loads(code, arg, contract_name=contract_name)
contract = boa.loads(code, arg, name=contract_name)

# test get_deployments()
deployment = next(db.get_deployments())
Expand Down

0 comments on commit dff181d

Please sign in to comment.