mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Test for pkg.upgrade. Most robust on Suse but better than nothing elsewhere
This commit is contained in:
parent
867638ff48
commit
3870589462
1 changed files with 2 additions and 1 deletions
|
@ -274,7 +274,8 @@ class PkgModuleTest(integration.ModuleCase,
|
|||
ret = self.run_function(func)
|
||||
|
||||
# The changes dictionary should not be empty.
|
||||
self.assertIn('vim', ret)
|
||||
self.assertIn('changes', ret)
|
||||
self.assertIn('vim', ret['changes'])
|
||||
else:
|
||||
ret = self.run_function('pkg.list_updates')
|
||||
if ret == '':
|
||||
|
|
Loading…
Add table
Reference in a new issue