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()
|
@pytest.mark.slow()
|
||||||
def test_investigator_requests_slashing(testerchain,
|
def test_investigator_requests_slashing(testerchain,
|
||||||
test_registry,
|
test_registry,
|
||||||
session_agency,
|
agency,
|
||||||
mock_ursula_reencrypts,
|
mock_ursula_reencrypts,
|
||||||
token_economics,
|
token_economics,
|
||||||
mocker):
|
mocker):
|
||||||
|
@ -54,7 +54,7 @@ def test_investigator_requests_slashing(testerchain,
|
||||||
|
|
||||||
##### STAKING ESCROW STUFF #####
|
##### 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
|
locked_tokens = token_economics.minimum_allowed_locked * 5
|
||||||
|
|
||||||
|
|
|
@ -453,13 +453,6 @@ def agency(testerchain, test_registry):
|
||||||
yield agents
|
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")
|
@pytest.fixture(scope="module")
|
||||||
def stakers(testerchain, agency, token_economics, test_registry):
|
def stakers(testerchain, agency, token_economics, test_registry):
|
||||||
token_agent, _staking_agent, _policy_agent = agency
|
token_agent, _staking_agent, _policy_agent = agency
|
||||||
|
|
Loading…
Reference in New Issue