def test_list_un(self):
        data = self.run_key('-l un')
        expect = None
        if self.master_opts['transport'] in ('zeromq', 'tcp'):
            expect = ['Unaccepted Keys:']
        elif self.master_opts['transport'] == 'raet':
            expect = ['minions_pre:']
        self.assertEqual(
            data,
            expect
        )
test salt-key -l
dataset/ETHPy150Open saltstack/salt/tests/integration/shell/key.py/KeyTest.test_list_un