mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
update salt.utils.platform path for virt core test
This commit is contained in:
parent
718252c1ef
commit
0763f96458
@ -864,7 +864,7 @@ SwapTotal: 4789244 kB'''
|
||||
test virtual grain with cmd virt-what
|
||||
'''
|
||||
virt = 'kvm'
|
||||
with patch.object(salt.utils, 'is_windows',
|
||||
with patch.object(salt.utils.platform, 'is_windows',
|
||||
MagicMock(return_value=False)):
|
||||
with patch.object(salt.utils.path, 'which',
|
||||
MagicMock(return_value=True)):
|
||||
|
Loading…
Reference in New Issue
Block a user