mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Lint Fix: add mock_open import
This commit is contained in:
parent
e5b999ba99
commit
f578392eb4
@ -10,7 +10,14 @@ import xml.parsers.expat
|
|||||||
|
|
||||||
# Import Salt Testing Libs
|
# Import Salt Testing Libs
|
||||||
from tests.support.unit import TestCase, skipIf
|
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
|
from tests.support.mixins import LoaderModuleMockMixin
|
||||||
|
|
||||||
# Import Salt libs
|
# Import Salt libs
|
||||||
|
Loading…
Reference in New Issue
Block a user