diff options
author | Matt Clay <matt@mystile.com> | 2023-05-03 08:58:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-03 08:58:00 -0700 |
commit | 2cd1744be3d96f1eec674e1b66433c3730caa24f (patch) | |
tree | 8ab323420af73f978020366daeedd7c9ccd6f246 /test/units/plugins/connection/test_ssh.py | |
parent | eea7137449ba6a94126e97e463682319e030e6fd (diff) | |
download | ansible-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/plugins/connection/test_ssh.py')
-rw-r--r-- | test/units/plugins/connection/test_ssh.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/plugins/connection/test_ssh.py b/test/units/plugins/connection/test_ssh.py index 1f01188af4..9d008333c8 100644 --- a/test/units/plugins/connection/test_ssh.py +++ b/test/units/plugins/connection/test_ssh.py @@ -30,7 +30,7 @@ from unittest.mock import patch, MagicMock, PropertyMock from ansible.errors import AnsibleError, AnsibleConnectionFailure, AnsibleFileNotFound from ansible.module_utils.compat.selectors import SelectorKey, EVENT_READ from ansible.module_utils.six.moves import shlex_quote -from ansible.module_utils._text import to_bytes +from ansible.module_utils.common.text.converters import to_bytes from ansible.playbook.play_context import PlayContext from ansible.plugins.connection import ssh from ansible.plugins.loader import connection_loader, become_loader |