From 197d50bc44cf1d45c6ba7d2eb4f9b9a26a707485 Mon Sep 17 00:00:00 2001 From: Jim Ladd Date: Fri, 13 Nov 2020 11:23:47 -0800 Subject: [PATCH] patch test_inventory_update_injected_content * proot now enabled at task-level since tasks are no longer calling awx-manage (which would set up its own proot) * dropping proot env var since it's not relevant to the test --- awx/main/tests/functional/test_inventory_source_injectors.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/main/tests/functional/test_inventory_source_injectors.py b/awx/main/tests/functional/test_inventory_source_injectors.py index dc54301d01..fc28c92294 100644 --- a/awx/main/tests/functional/test_inventory_source_injectors.py +++ b/awx/main/tests/functional/test_inventory_source_injectors.py @@ -216,6 +216,7 @@ def test_inventory_update_injected_content(this_kind, inventory, fake_credential env.pop('ANSIBLE_COLLECTIONS_PATHS', None) # collection paths not relevant to this test env.pop('PYTHONPATH') env.pop('VIRTUAL_ENV') + env.pop('PROOT_TMP_DIR') base_dir = os.path.join(DATA, 'plugins') if not os.path.exists(base_dir): os.mkdir(base_dir)