

def test_list_acc(self):
    '\n        test salt-key -l\n        '
    data = self.run_key('-l acc')
    if (data.master_opts['transport'] in ('zeromq', 'tcp')):
        self.assertEqual(data, ['Accepted Keys:', 'minion', 'sub_minion'])
    elif (self.master_opts['transport'] == 'raet'):
        self.assertEqual(data, ['minions:', '    - master', '    - minion', '    - sub_minion'])

dataset/ETHPy150Open saltstack/salt/tests/integration/shell/key.py KeyTest.test_list_acc/VarMisuse@23/45 `self`->`data`