Minor fixes for unit test delegation.

This commit is contained in:
Matt Clay 2018-09-18 14:13:20 -07:00
parent 6059246093
commit be199cfe90
2 changed files with 1 additions and 1 deletions

View file

@ -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',
]

View file

@ -37,6 +37,7 @@ class DefaultTarFilter(TarFilter):
'.tox',
'.git',
'.idea',
'.pytest_cache',
'__pycache__',
'ansible.egg-info',
)