Fix some lint

This commit is contained in:
twangboy 2019-03-05 17:13:08 -07:00
parent aa61dabab4
commit 0d419e378c
No known key found for this signature in database
GPG key ID: 93FF3BDEB278C9EB

View file

@ -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), \