Python 3 compat fix for states/archive_test.py

This commit is contained in:
rallytime 2015-03-23 15:45:40 -06:00
parent 4316d61d36
commit 12aa7e1ff6

View File

@ -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__ = {}