From be199cfe90927d4e369597ee3c4b86401454614c Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Tue, 18 Sep 2018 14:13:20 -0700 Subject: [PATCH] Minor fixes for unit test delegation. --- test/runner/lib/delegation.py | 1 - test/runner/lib/pytar.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runner/lib/delegation.py b/test/runner/lib/delegation.py index 8392fc59a7..2c7900ce9a 100644 --- a/test/runner/lib/delegation.py +++ b/test/runner/lib/delegation.py @@ -278,7 +278,6 @@ def delegate_docker(args, exclude, require, integration_targets): # run unit tests unprivileged to prevent stray writes to the source tree if isinstance(args, UnitsConfig): writable_dirs = [ - '/root/ansible/lib/ansible.egg-info', '/root/ansible/.pytest_cache', ] diff --git a/test/runner/lib/pytar.py b/test/runner/lib/pytar.py index 33fe002bb4..145c91afaf 100644 --- a/test/runner/lib/pytar.py +++ b/test/runner/lib/pytar.py @@ -37,6 +37,7 @@ class DefaultTarFilter(TarFilter): '.tox', '.git', '.idea', + '.pytest_cache', '__pycache__', 'ansible.egg-info', )