summaryrefslogtreecommitdiffstats
path: root/test/units/ansible_test/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/units/ansible_test/conftest.py')
-rw-r--r--test/units/ansible_test/conftest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/units/ansible_test/conftest.py b/test/units/ansible_test/conftest.py
index 20e30aeb55..130c5c8742 100644
--- a/test/units/ansible_test/conftest.py
+++ b/test/units/ansible_test/conftest.py
@@ -7,7 +7,7 @@ import sys
@pytest.fixture(autouse=True, scope='session')
-def ansible_test():
- """Make ansible_test available on sys.path for unit testing ansible-test."""
+def inject_ansible_test():
+ """Make ansible_test available on `sys.path` for unit testing ansible-test."""
test_lib = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__))), 'lib')
sys.path.insert(0, test_lib)