Change imports for dockerng tests

This should fix path issues in the test suite.
This commit is contained in:
Erik Johnson 2017-03-21 11:56:29 -05:00
parent 257c862c52
commit 6caedb0de8
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ from salt.ext.six.moves import range
ensure_in_syspath('../../')
# Import Salt Libs
from salt.modules import dockerng as dockerng_mod
import salt.modules.dockerng as dockerng_mod
from salt.exceptions import CommandExecutionError, SaltInvocationError
dockerng_mod.__context__ = {'docker.docker_version': ''}

View file

@ -22,8 +22,8 @@ ensure_in_syspath('../../')
# Import Salt Libs
from salt.exceptions import CommandExecutionError
from salt.modules import dockerng as dockerng_mod
from salt.states import dockerng as dockerng_state
import salt.modules.dockerng as dockerng_mod
import salt.states.dockerng as dockerng_state
dockerng_mod.__context__ = {'docker.docker_version': ''}
dockerng_mod.__salt__ = {}