mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue