

def test_list_raw_out(self):
    '\n        test salt-key -L --raw-out\n        '
    data = self.run_key('-L --out raw')
    expect = None
    if (self.master_opts['transport'] in ('zeromq', 'tcp')):
        expect = ["{'minions_rejected': [], 'minions_denied': [], 'minions_pre': [], 'minions': ['minion', 'sub_minion']}"]
    elif (self.master_opts['transport'] == 'raet'):
        expected_txt = "{'accepted': ['master', 'minion', 'sub_minion'], 'rejected': [], 'pending': []}"
        expect = [self]
    self.assertEqual(data, expect)

dataset/ETHPy150Open saltstack/salt/tests/integration/shell/key.py KeyTest.test_list_raw_out/VarMisuse@71/196 `expected_txt`->`self`