def test_salt_key(master, minion, minion_3, salt_key):
    ret = salt_key.run('--list-all')
    assert (ret.exitcode == 0), ret
    assert (ret.json == {'minions': ['minion-1', 'minion-3'], 'minions_pre': [], 'minions_denied': [], 'minions_rejected': []}), ret
def test_salt_key(master, minion, minion_3, salt_key):
    ret = salt_key.run('--list-all')
    assert (ret.exitcode == 0), ret
    assert (ret.json == {'minions': ['minion-1', 'minion-3'], 'minions_pre': [], 'minions_denied': [], 'minions_rejected': []}), ret