summaryrefslogtreecommitdiffstats
path: root/test/units/executor/test_task_result.py
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2018-10-13 05:01:14 +0200
committerGitHub <noreply@github.com>2018-10-13 05:01:14 +0200
commit3033fd96b09b4c6bb2536d08634fc45728feab88 (patch)
treecf917cec18513bbfddf4bf8df4e8ec7c317ef4da /test/units/executor/test_task_result.py
parentwin test: add http tester container to Windows tests (#46606) (diff)
downloadansible-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/executor/test_task_result.py')
-rw-r--r--test/units/executor/test_task_result.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/units/executor/test_task_result.py b/test/units/executor/test_task_result.py
index 35df122464..3ce210de8d 100644
--- a/test/units/executor/test_task_result.py
+++ b/test/units/executor/test_task_result.py
@@ -19,8 +19,8 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
-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.executor.task_result import TaskResult