summaryrefslogtreecommitdiff
path: root/test/units/modules/network/nxos/test_nxos_bgp.py
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2018-10-12 20:01:14 -0700
committerGitHub <noreply@github.com>2018-10-12 20:01:14 -0700
commit3033fd96b09b4c6bb2536d08634fc45728feab88 (patch)
treecf917cec18513bbfddf4bf8df4e8ec7c317ef4da /test/units/modules/network/nxos/test_nxos_bgp.py
parent6e2897647c77910c0fc5c4306f381f1b5cd00635 (diff)
downloadansible-3033fd96b09b4c6bb2536d08634fc45728feab88.tar.gz
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/modules/network/nxos/test_nxos_bgp.py')
-rw-r--r--test/units/modules/network/nxos/test_nxos_bgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/modules/network/nxos/test_nxos_bgp.py b/test/units/modules/network/nxos/test_nxos_bgp.py
index cc71c877aa..cc3ae8c890 100644
--- a/test/units/modules/network/nxos/test_nxos_bgp.py
+++ b/test/units/modules/network/nxos/test_nxos_bgp.py
@@ -19,7 +19,7 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
-from ansible.compat.tests.mock import patch
+from units.compat.mock import patch
from ansible.modules.network.nxos import nxos_bgp
from .nxos_module import TestNxosModule, load_fixture, set_module_args