From b5c50b68819b76882872926197ab64fc1252a77e Mon Sep 17 00:00:00 2001 From: Pavel Bar Date: Sun, 15 Feb 2026 22:56:50 +0200 Subject: [PATCH] Fix deprecated imports in tests/unit/mock/vault_helper.py Replace deprecated module_utils import: - ansible.module_utils._text -> ansible.module_utils.common.text.converters Fixes #686 Co-authored-by: Cursor AI Signed-off-by: Pavel Bar --- tests/unit/mock/vault_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/mock/vault_helper.py b/tests/unit/mock/vault_helper.py index dcce9c7..5b2fdd2 100644 --- a/tests/unit/mock/vault_helper.py +++ b/tests/unit/mock/vault_helper.py @@ -15,7 +15,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type -from ansible.module_utils._text import to_bytes +from ansible.module_utils.common.text.converters import to_bytes from ansible.parsing.vault import VaultSecret