diff options
author | Matt Clay <matt@mystile.com> | 2023-05-03 17:58:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 17:58:00 +0200 |
commit | 2cd1744be3d96f1eec674e1b66433c3730caa24f (patch) | |
tree | 8ab323420af73f978020366daeedd7c9ccd6f246 /test/units/galaxy/test_collection.py | |
parent | Fix os.walk issues in package-data sanity test (#80703) (diff) | |
download | ansible-2cd1744be3d96f1eec674e1b66433c3730caa24f.tar.xz ansible-2cd1744be3d96f1eec674e1b66433c3730caa24f.zip |
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/galaxy/test_collection.py')
-rw-r--r-- | test/units/galaxy/test_collection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/galaxy/test_collection.py b/test/units/galaxy/test_collection.py index 5d6f32456d..420bea209c 100644 --- a/test/units/galaxy/test_collection.py +++ b/test/units/galaxy/test_collection.py @@ -23,7 +23,7 @@ from ansible import context from ansible.cli.galaxy import GalaxyCLI from ansible.errors import AnsibleError from ansible.galaxy import api, collection, token -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.module_utils.six.moves import builtins from ansible.utils import context_objects as co from ansible.utils.display import Display |