Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
vzotova committed Jul 17, 2023
1 parent fd764ef commit 5433820
Show file tree
Hide file tree
Showing 4 changed files with 455 additions and 500 deletions.
8 changes: 4 additions & 4 deletions tests/application/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def encode_function_data(initializer=None, *args):


@pytest.fixture()
def pre_cbd_application(project, creator, token, threshold_staking):
def taco_application(project, creator, token, threshold_staking):
contract = creator.deploy(
project.TACoApplication,
token.address,
Expand Down Expand Up @@ -94,7 +94,7 @@ def pre_cbd_application(project, creator, token, threshold_staking):


@pytest.fixture()
def stake_info(project, creator, pre_cbd_application):
contract = project.StakeInfo.deploy([pre_cbd_application.address], sender=creator)
pre_cbd_application.setUpdatableStakeInfo(contract.address, sender=creator)
def stake_info(project, creator, taco_application):
contract = project.StakeInfo.deploy([taco_application.address], sender=creator)
taco_application.setUpdatableStakeInfo(contract.address, sender=creator)
return contract
Loading

0 comments on commit 5433820

Please sign in to comment.