Update virtual_environment for genconfig and genpolicy

It is not necessary to create two new virtual environments
when run tox with genconfig and genpolicy. We can use pep8
virtual_environment for those tox., it will reduce time to
run tox.

Change-Id: Ia07d325ed9550c8a201039754d96341f051c63f0
This commit is contained in:
Nam Nguyen Hoai 2018-01-24 10:05:05 +07:00
parent 10ef7adcff
commit d6b25aeb1a
1 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ commands =
[testenv:genconfig]
whitelist_externals = bash
envdir = {toxworkdir}/pep8
commands =
oslo-config-generator --config-file etc/oslo-config-generator/barbican.conf
@ -123,6 +124,7 @@ deps = bindep
commands = bindep test
[testenv:genpolicy]
envdir = {toxworkdir}/pep8
commands = oslopolicy-sample-generator --config-file=etc/oslo-config-generator/policy.conf
[hacking]