mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Python 3 compat fix for states/archive_test.py
This commit is contained in:
parent
4316d61d36
commit
12aa7e1ff6
@ -11,12 +11,18 @@ import tempfile
|
||||
# Import Salt Testing libs
|
||||
from salttesting import TestCase, skipIf
|
||||
from salttesting.helpers import ensure_in_syspath
|
||||
from salttesting.mock import NO_MOCK, NO_MOCK_REASON, MagicMock, patch
|
||||
from salttesting.mock import (
|
||||
NO_MOCK,
|
||||
NO_MOCK_REASON,
|
||||
MagicMock,
|
||||
patch
|
||||
)
|
||||
|
||||
ensure_in_syspath('../../')
|
||||
|
||||
# Import Salt Libs
|
||||
from salt.states import archive as archive
|
||||
from salt.ext.six.moves import zip # pylint: disable=import-error,redefined-builtin
|
||||
|
||||
# Globals
|
||||
archive.__salt__ = {}
|
||||
|
Loading…
Reference in New Issue
Block a user