Merge "tox: Add Python-specific functional envs"

This commit is contained in:
Zuul 2024-08-30 02:52:21 +00:00 committed by Gerrit Code Review
commit 543f812ec3
2 changed files with 2 additions and 2 deletions
novaclient/tests/functional
tox.ini

@ -258,7 +258,7 @@ class ClientTestBase(testtools.TestCase):
# something more sensible.
cli_dir = os.environ.get(
'OS_NOVACLIENT_EXEC_DIR',
os.path.join(os.path.abspath('.'), '.tox/functional/bin'))
os.path.join(os.environ['TOX_ENV_DIR'], 'bin'))
self.cli_clients = tempest.lib.cli.base.CLIClient(
username=user,

@ -61,7 +61,7 @@ deps =
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:functional]
[testenv:functional{,-py38,-py39,-py310,-py311,-py312}]
passenv = OS_*
commands =
stestr --test-path=./novaclient/tests/functional run --concurrency=1 {posargs}