mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
update salt.utils.platform path for virt core test
This commit is contained in:
parent
718252c1ef
commit
0763f96458
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue