Getting rid of old `session_agency` fixture. Use `agency` instead.

pull/1259/head
David Núñez 2019-09-10 13:47:22 +02:00
parent 39f6289a7c
commit 7b8b31df22
2 changed files with 2 additions and 9 deletions

View File

@ -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

View File

@ -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