mirror of https://github.com/nucypher/nucypher.git
Getting rid of old `session_agency` fixture. Use `agency` instead.
parent
39f6289a7c
commit
7b8b31df22
|
@ -42,7 +42,7 @@ def mock_ursula(testerchain, account, mocker):
|
|||
@pytest.mark.slow()
|
||||
def test_investigator_requests_slashing(testerchain,
|
||||
test_registry,
|
||||
session_agency,
|
||||
agency,
|
||||
mock_ursula_reencrypts,
|
||||
token_economics,
|
||||
mocker):
|
||||
|
@ -54,7 +54,7 @@ def test_investigator_requests_slashing(testerchain,
|
|||
|
||||
##### STAKING ESCROW STUFF #####
|
||||
|
||||
token_agent, staking_agent, _policy_agent = session_agency
|
||||
token_agent, staking_agent, _policy_agent = agency
|
||||
|
||||
locked_tokens = token_economics.minimum_allowed_locked * 5
|
||||
|
||||
|
|
|
@ -453,13 +453,6 @@ def agency(testerchain, test_registry):
|
|||
yield agents
|
||||
|
||||
|
||||
@pytest.fixture(scope='module')
|
||||
def session_agency(_testerchain, test_registry):
|
||||
testerchain = _testerchain
|
||||
agents = _make_agency(testerchain=testerchain, test_registry=test_registry)
|
||||
yield agents
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def stakers(testerchain, agency, token_economics, test_registry):
|
||||
token_agent, _staking_agent, _policy_agent = agency
|
||||
|
|
Loading…
Reference in New Issue