Browse Source

Add genconfig env to tox

Align with other projects that could generate configuration file
locally. Also gives a little love to people behind proxy.

Change-Id: I07ed8b02a869bad5074aef985cf3f8e8a9a83ce3
changes/92/694492/1
Kaifeng Wang 3 weeks ago
parent
commit
f1500ede44
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      tox.ini

+ 6
- 0
tox.ini View File

@@ -13,6 +13,7 @@ deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run {posargs}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY

[testenv:pep8]
basepython = python3
@@ -61,6 +62,11 @@ basepython = python3
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html

[testenv:genconfig]
basepython = python3
commands =
oslo-config-generator --config-file=tools/config/networking-baremetal-config-generator.conf

[testenv:debug]
basepython = python3
commands = oslo_debug_helper -t networking_baremetal/tests/unit {posargs}

Loading…
Cancel
Save