Merge pull request #37301 from cachedout/fix_pkg_test

Fix typo in pkg upgrade test
This commit is contained in:
Mike Place 2016-10-28 20:24:30 +09:00 committed by GitHub
commit 63ba6b03ad

View File

@ -283,7 +283,7 @@ class PkgModuleTest(integration.ModuleCase,
else:
self.assertIn('vim', ret)
else:
ret = self.run_function('pkg.list_updates')
ret = self.run_function('pkg.list_upgrades')
if ret == '' or ret == {}:
self.skipTest('No updates available for this machine. Skipping pkg.upgrade test.')
else: