diff options
author | Matt Clay <matt@mystile.com> | 2018-10-13 05:01:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-13 05:01:14 +0200 |
commit | 3033fd96b09b4c6bb2536d08634fc45728feab88 (patch) | |
tree | cf917cec18513bbfddf4bf8df4e8ec7c317ef4da /test/units/parsing/vault | |
parent | win test: add http tester container to Windows tests (#46606) (diff) | |
download | ansible-3033fd96b09b4c6bb2536d08634fc45728feab88.tar.xz ansible-3033fd96b09b4c6bb2536d08634fc45728feab88.zip |
Move unit test compat code out of `lib/ansible/`. (#46996)
* Move ansible.compat.tests to test/units/compat/.
* Fix unit test references to ansible.compat.tests.
* Move builtins compat to separate file.
* Fix classification of test/units/compat/ dir.
Diffstat (limited to 'test/units/parsing/vault')
-rw-r--r-- | test/units/parsing/vault/test_vault.py | 4 | ||||
-rw-r--r-- | test/units/parsing/vault/test_vault_editor.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/units/parsing/vault/test_vault.py b/test/units/parsing/vault/test_vault.py index 20c64a9b20..1c103751ca 100644 --- a/test/units/parsing/vault/test_vault.py +++ b/test/units/parsing/vault/test_vault.py @@ -29,8 +29,8 @@ import tempfile from binascii import hexlify import pytest -from ansible.compat.tests import unittest -from ansible.compat.tests.mock import patch, MagicMock +from units.compat import unittest +from units.compat.mock import patch, MagicMock from ansible import errors from ansible.module_utils import six diff --git a/test/units/parsing/vault/test_vault_editor.py b/test/units/parsing/vault/test_vault_editor.py index b9166a334b..6a93896a21 100644 --- a/test/units/parsing/vault/test_vault_editor.py +++ b/test/units/parsing/vault/test_vault_editor.py @@ -25,8 +25,8 @@ import tempfile import pytest -from ansible.compat.tests import unittest -from ansible.compat.tests.mock import patch +from units.compat import unittest +from units.compat.mock import patch from ansible import errors from ansible.parsing import vault |