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
7379f9e3e5
commit
f4b6367cf9
@ -254,10 +254,10 @@ class PkgModuleTest(ModuleCase, SaltReturnAssertsMixin):
|
||||
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