]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
tox.ini: Set isolated_build
authorZack Cerza <zack@redhat.com>
Fri, 18 Mar 2022 19:02:10 +0000 (13:02 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 5 Apr 2022 21:17:36 +0000 (17:17 -0400)
This also requires us to re-add mock to the py3 env.

Signed-off-by: Zack Cerza <zack@redhat.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 3e77fd4012122359d5a2134448652837c3860ca5..cf442cde3dbe80899db4423455f7bb39239bf41a 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,6 @@
 [tox]
 envlist = docs, py3, flake8, openstack
+isolated_build = True
 
 [testenv]
 setenv =
@@ -14,6 +15,7 @@ deps=
   -r{toxinidir}/requirements.txt
   pytest-cov==2.8.1
   coverage==4.5.4
+  mock==4.0.3
 log_format = %(asctime)s %(levelname)s %(message)s
 commands=
     python -m pytest --cov=teuthology --cov-report=term -v {posargs:teuthology scripts}