mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix some lint
This commit is contained in:
parent
aa61dabab4
commit
0d419e378c
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class IscsiGrainsTestCase(TestCase, LoaderModuleMockMixin):
|
|||
Test grains._windows_disks, retcode 1
|
||||
Should return empty lists
|
||||
'''
|
||||
mock_which = MagicMock(return_value='C:\Windows\System32\wbem\WMIC.exe')
|
||||
mock_which = MagicMock(return_value='C:\\Windows\\System32\\wbem\\WMIC.exe')
|
||||
mock_run_all = MagicMock(return_value={'stdout': '',
|
||||
'retcode': 1})
|
||||
with patch('salt.utils.path.which', mock_which), \
|
||||
|
|
Loading…
Add table
Reference in a new issue