Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Sep 22, 2024
1 parent bff9589 commit 3c8ae9f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions moccasin/fixture_tools.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import inspect
from types import ModuleType
from typing import Callable, Literal, cast

from boa.contracts.abi.abi_contract import ABIContract
from boa.contracts.vyper.vyper_contract import VyperContract
import pytest

from moccasin.config import get_config
Expand Down Expand Up @@ -56,7 +53,7 @@ def request_fixture(
module = _find_calling_module()

active_network = get_config().get_active_network()
named_contract = active_network.get_named_contract(named_contract_name)
named_contract = active_network.get_named_contract(contract_name)
if named_contract is None:
raise ValueError(
f"No contract found for contract '{contract_name}' on network {active_network.name}"
Expand Down

0 comments on commit 3c8ae9f

Please sign in to comment.