Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use anvil for tests #197

Draft
wants to merge 24 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: mock strategy deployment
  • Loading branch information
Schlagonia committed Feb 2, 2024
commit 6858a1e676409d2cf22e0d2c4d4c1eeaf638b3f7
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
@@ -223,10 +223,11 @@ def create_vault(

# create default liquid strategy with 0 fee
@pytest.fixture(scope="session")
def create_strategy(project, strategist, gov):
def create_strategy(project, strategist, gov, vault_factory):
def create_strategy(vault):
return strategist.deploy(
project.MockTokenizedStrategy,
vault_factory.address,
vault.asset(),
"Mock Tokenized Strategy",
strategist,
Loading