summaryrefslogtreecommitdiffstats
path: root/test/units/utils
diff options
context:
space:
mode:
authorJames Cassell <code@james.cassell.me>2020-06-11 20:40:13 +0200
committerGitHub <noreply@github.com>2020-06-11 20:40:13 +0200
commit47d14a33bd673e0c353eae31b18552b767893972 (patch)
treec3a8a59e175f6139bebb77148379703d9facc8fd /test/units/utils
parentUse antsibull-changelog instead of packaged changelog generator (#69313) (diff)
downloadansible-47d14a33bd673e0c353eae31b18552b767893972.tar.xz
ansible-47d14a33bd673e0c353eae31b18552b767893972.zip
config: singular ANSIBLE_COLLECTIONS_PATH (#70007)
* config: singular ANSIBLE_COLLECTIONS_PATH Every other *_PATH setting in ansible is singular, and the traditional $PATH variable is also singular despite containing a list of directories. Let's be consistent both internally and with POSIX tradition. * update all ANSIBLE_COLLECTIONS_PATHS env references to be singular * deprecate plural ANSIBLE_COLLECTIONS_PATHS setting
Diffstat (limited to 'test/units/utils')
-rw-r--r--test/units/utils/collection_loader/test_collection_loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/utils/collection_loader/test_collection_loader.py b/test/units/utils/collection_loader/test_collection_loader.py
index e415b9e3d0..496dc5416e 100644
--- a/test/units/utils/collection_loader/test_collection_loader.py
+++ b/test/units/utils/collection_loader/test_collection_loader.py
@@ -367,7 +367,7 @@ def test_import_from_collection(monkeypatch):
# define the collection root before any ansible code has been loaded
# otherwise config will have already been loaded and changing the environment will have no effect
- monkeypatch.setenv('ANSIBLE_COLLECTIONS_PATHS', collection_root)
+ monkeypatch.setenv('ANSIBLE_COLLECTIONS_PATH', collection_root)
finder = _AnsibleCollectionFinder(paths=[collection_root])
reset_collections_loader_state(finder)