Fix is_windows utils call

This commit is contained in:
Ch3LL 2019-02-15 15:18:24 -05:00
parent a5c8df0323
commit 64322db582
No known key found for this signature in database
GPG Key ID: 132B55A7C13EFA73

View File

@ -775,7 +775,7 @@ class TestFileState(TestCase, LoaderModuleMockMixin):
with patch.object(os.path, 'exists', mock_t):
with patch.dict(filestate.__opts__, {'test': True}):
ret.update({'comment': comt})
if salt.utils.is_windows():
if salt.utils.platform.is_windows():
self.assertDictEqual(filestate.managed
(name, user=user,
group=group), ret)