Lint Fix: add mock_open import

This commit is contained in:
rallytime 2018-11-13 09:30:02 -05:00
parent e5b999ba99
commit f578392eb4
No known key found for this signature in database
GPG Key ID: E8F1A4B90D0DEA19

View File

@ -10,7 +10,14 @@ import xml.parsers.expat
# Import Salt Testing Libs
from tests.support.unit import TestCase, skipIf
from tests.support.mock import MagicMock, patch, NO_MOCK, NO_MOCK_REASON, call
from tests.support.mock import (
call,
MagicMock,
mock_open,
NO_MOCK,
NO_MOCK_REASON,
patch
)
from tests.support.mixins import LoaderModuleMockMixin
# Import Salt libs