From 96ab73a87441f1db1a7d73ca77213c4cec07e833 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. (cherry picked from commit be199cfe90927d4e369597ee3c4b86401454614c) --- 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 8392fc59a79..2c7900ce9ac 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 33fe002bb4d..145c91afaf9 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', )