From: Zack Cerza Date: Thu, 14 May 2020 21:27:43 +0000 (-0600) Subject: tox: Avoid system site-packages X-Git-Tag: 1.1.0~93^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=61a8559ea1a79dd69b8771114809ece3d1295a4f;p=teuthology.git tox: Avoid system site-packages Signed-off-by: Zack Cerza --- diff --git a/tox.ini b/tox.ini index 6fbb040b9f..e4c7c14133 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,6 @@ envlist = docs, py3, py27, py27-integration, flake8, flake8-py3, openstack [testenv:py27] install_command = pip install --upgrade {opts} {packages} passenv = HOME -sitepackages=True deps= -r{toxinidir}/requirements2.txt mock==2.0.0 @@ -13,14 +12,13 @@ deps= coverage==4.5.4 commands= - py.test --cov=teuthology --cov-report=term -v {posargs:teuthology scripts} + python -m pytest --cov=teuthology --cov-report=term -v {posargs:teuthology scripts} [testenv:py3] basepython=python3 install_command = pip install --upgrade {opts} {packages} passenv = HOME -sitepackages=True deps= -r{toxinidir}/requirements3.txt mock==2.0.0 @@ -29,7 +27,7 @@ deps= coverage==4.5.4 commands= - py.test --cov=teuthology --cov-report=term -v {posargs:teuthology scripts} + python -m pytest --cov=teuthology --cov-report=term -v {posargs:teuthology scripts} [testenv:py27-integration]