def test_list_un(self):
        '''
        test salt-key -l
        '''
        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
        )
dataset/ETHPy150Open saltstack/salt/tests/integration/shell/key.py/KeyTest.test_list_un/original