update salt.utils.platform path for virt core test

This commit is contained in:
Ch3LL 2018-05-09 18:02:17 -04:00
parent 718252c1ef
commit 0763f96458
No known key found for this signature in database
GPG Key ID: 132B55A7C13EFA73

View File

@ -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)):