Add --tox-sitepackages option to ansible-test.

This commit is contained in:
Matt Clay
2016-12-13 16:25:16 -08:00
parent dd46cb7b05
commit f28b5a0ed8
3 changed files with 16 additions and 1 deletions

View File

@@ -387,6 +387,12 @@ def add_environments(parser, tox_version=False, tox_only=False):
action='store_true',
help='run from a tox virtualenv')
tox = parser.add_argument_group(title='tox arguments')
tox.add_argument('--tox-sitepackages',
action='store_true',
help='allow access to globally installed packages')
if tox_only:
environments.set_defaults(
docker=None,