Fix tests after rebasing in inventory update refactor

This commit is contained in:
Shane McDonald 2020-11-30 18:53:15 -05:00 committed by Shane McDonald
parent 9786dc08d3
commit 6ff1424e8c

View File

@ -215,9 +215,6 @@ def test_inventory_update_injected_content(this_kind, inventory, fake_credential
f"'{inventory_filename}' file not found in inventory update runtime files {content.keys()}"
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)