def test_list(self):
        ret = self.run_function('pkg.list_pkgs')
        self.assertNotEqual(len(ret.keys()), 0)
verify that packages are installed
dataset/ETHPy150Open saltstack/salt/tests/integration/modules/pkg.py/PkgModuleTest.test_list