mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
fix fedora pkg test
yum is no longer installed by default on fedora. apparently it has been removed from the base installs, and only dnf is available. Stop depending on the pkg manager, and just use bash.
This commit is contained in:
parent
4e0a0eec1f
commit
40255194b0
@ -240,10 +240,10 @@ class PkgModuleTest(integration.ModuleCase,
|
||||
self.assertIn('bash-completion', keys)
|
||||
self.assertIn('dpkg', keys)
|
||||
elif os_family == 'RedHat':
|
||||
ret = self.run_function(func, ['rpm', 'yum'])
|
||||
ret = self.run_function(func, ['rpm', 'bash'])
|
||||
keys = ret.keys()
|
||||
self.assertIn('rpm', keys)
|
||||
self.assertIn('yum', keys)
|
||||
self.assertIn('bash', keys)
|
||||
elif os_family == 'SUSE':
|
||||
ret = self.run_function(func, ['less', 'zypper'])
|
||||
keys = ret.keys()
|
||||
|
Loading…
Reference in New Issue
Block a user