summaryrefslogtreecommitdiff
path: root/test/units/cli/test_galaxy.py
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2023-05-03 08:58:00 -0700
committerGitHub <noreply@github.com>2023-05-03 08:58:00 -0700
commit2cd1744be3d96f1eec674e1b66433c3730caa24f (patch)
tree8ab323420af73f978020366daeedd7c9ccd6f246 /test/units/cli/test_galaxy.py
parenteea7137449ba6a94126e97e463682319e030e6fd (diff)
downloadansible-2cd1744be3d96f1eec674e1b66433c3730caa24f.tar.gz
Use ansible.module_utils.common.text.converters (#80704)
Replace use of old `ansible.module_utils._text` and add a unit test to maintain backwards compatibility.
Diffstat (limited to 'test/units/cli/test_galaxy.py')
-rw-r--r--test/units/cli/test_galaxy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/cli/test_galaxy.py b/test/units/cli/test_galaxy.py
index c21d75dcb9..bf37c5f316 100644
--- a/test/units/cli/test_galaxy.py
+++ b/test/units/cli/test_galaxy.py
@@ -39,7 +39,7 @@ from ansible.cli.galaxy import GalaxyCLI
from ansible.galaxy import collection
from ansible.galaxy.api import GalaxyAPI
from ansible.errors import AnsibleError
-from ansible.module_utils._text import to_bytes, to_native, to_text
+from ansible.module_utils.common.text.converters import to_bytes, to_native, to_text
from ansible.utils import context_objects as co
from ansible.utils.display import Display
from units.compat import unittest