mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 00:55:19 +00:00
forgot to mock the proper one
This commit is contained in:
parent
51c7a1ba00
commit
496f14a7e7
@ -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…
Reference in New Issue
Block a user