diff options
Diffstat (limited to 'test/units/parsing/yaml/test_objects.py')
-rw-r--r-- | test/units/parsing/yaml/test_objects.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/units/parsing/yaml/test_objects.py b/test/units/parsing/yaml/test_objects.py index f64b708f..f899915d 100644 --- a/test/units/parsing/yaml/test_objects.py +++ b/test/units/parsing/yaml/test_objects.py @@ -24,7 +24,7 @@ from units.compat import unittest from ansible.errors import AnsibleError -from ansible.module_utils._text import to_native +from ansible.module_utils.common.text.converters import to_native from ansible.parsing import vault from ansible.parsing.yaml.loader import AnsibleLoader @@ -105,11 +105,6 @@ class TestAnsibleVaultEncryptedUnicode(unittest.TestCase, YamlTestUtils): id_secret = vault.match_encrypt_secret(self.good_vault_secrets) return objects.AnsibleVaultEncryptedUnicode.from_plaintext(seq, vault=self.vault, secret=id_secret[1]) - def _from_ciphertext(self, ciphertext): - avu = objects.AnsibleVaultEncryptedUnicode(ciphertext) - avu.vault = self.vault - return avu - def test_empty_init(self): self.assertRaises(TypeError, objects.AnsibleVaultEncryptedUnicode) |