Add disco-stein bundle to gate tests

The bundle disco-stein was in the dev bundles because
a bug with the Python 3.7 syntax prevented the success of
the deployment of HA clusters. This bug is fixed, we can
reintegrate disco-stein in the gate bundles.

Other small additions:
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

LP Related-Bug: #1823718
Change-Id: I3a991b0aab724ce7b7c9376adabb607aacd2c94f
This commit is contained in:
Camille Rodriguez 2019-08-26 17:21:27 -04:00
parent 6316f8431b
commit 99e5a7818e
2 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,10 @@
[tox]
envlist = pep8,py27,py37
skipsdist = True
skip_missing_interpreters = True
# NOTE(beisner): Avoid build/test env pollution by not enabling sitepackages.
sitepackages = False
# NOTE(beisner): Avoid false positives by not skipping missing interpreters.
skip_missing_interpreters = False
[testenv]
setenv = VIRTUAL_ENV={envdir}
@ -15,7 +18,7 @@ install_command =
pip install {opts} {packages}
commands = stestr run {posargs}
whitelist_externals = juju
passenv = HOME TERM AMULET_* CS_API_*
passenv = HOME TERM AMULET_* CS_API_* OS_*
[testenv:py27]
basepython = python2.7