mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
forgot to mock the proper one
This commit is contained in:
parent
51c7a1ba00
commit
496f14a7e7
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ class GenesisTestCase(TestCase):
|
|||
'cmd.run': MagicMock(),
|
||||
'disk.blkid': MagicMock(return_value={})}):
|
||||
with patch('salt.modules.genesis.salt.utils.which', return_value=True):
|
||||
with patch('salt.modules.genesis.salt.utils.validate.path.is_readable',
|
||||
with patch('salt.modules.genesis.salt.utils.validate.path.is_executable',
|
||||
return_value=True):
|
||||
param_set['params'].update(common_parms)
|
||||
self.assertEqual(genesis.bootstrap(**param_set['params']), None)
|
||||
|
|
Loading…
Add table
Reference in a new issue