summaryrefslogtreecommitdiff
path: root/test/units/cli/test_galaxy.py
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2018-12-20 10:07:49 -0800
committerToshio Kuratomi <a.badger@gmail.com>2019-01-03 18:12:23 -0800
commit27c7d5bb01f15dc89021a6019c07c10a03ed7035 (patch)
tree1c63b7cd17113b393a27f7bc6fa4a7f27d282078 /test/units/cli/test_galaxy.py
parented8e60d804973bdb6703daa24255bb8fc24d2988 (diff)
downloadansible-27c7d5bb01f15dc89021a6019c07c10a03ed7035.tar.gz
Move the arguments module into cli/ and context_objects into utils
* Note: Python2 is not as intelligent at detecting false import loops as Python3. context_objects.py cannot be added to cli/arguments because it would set up an import loop between cli/__init__.py, cli/arguments/context_objects.py, and context.py on Python2. ci_complete
Diffstat (limited to 'test/units/cli/test_galaxy.py')
-rw-r--r--test/units/cli/test_galaxy.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/units/cli/test_galaxy.py b/test/units/cli/test_galaxy.py
index 56d3c0c22d..966f66b660 100644
--- a/test/units/cli/test_galaxy.py
+++ b/test/units/cli/test_galaxy.py
@@ -27,13 +27,13 @@ import tempfile
import yaml
from ansible import context
-from ansible.arguments import context_objects as co
-from ansible.arguments import optparse_helpers as opt_help
+from ansible.cli.arguments import optparse_helpers as opt_help
from ansible.cli.galaxy import GalaxyCLI
-from units.compat import unittest
-from units.compat.mock import call, patch
from ansible.errors import AnsibleError, AnsibleOptionsError
from ansible.module_utils.six import PY3
+from ansible.utils import context_objects as co
+from units.compat import unittest
+from units.compat.mock import call, patch
class TestGalaxy(unittest.TestCase):