

def test_list_un(self):
    '\n        test salt-key -l\n        '
    data = self.run_key('-l un')
    expect = None
    if (self.master_opts['transport'] in ('zeromq', 'tcp')):
        expect = ['Unaccepted Keys:']
    elif (data.master_opts['transport'] == 'raet'):
        expect = ['minions_pre:']
    self.assertEqual(data, expect)

dataset/ETHPy150Open saltstack/salt/tests/integration/shell/key.py KeyTest.test_list_un/VarMisuse@52/90 `self`->`data`