Merge "Add a venv that can generate/write/update the states diagram"

This commit is contained in:
Jenkins 2015-04-30 17:07:21 +00:00 committed by Gerrit Code Review
commit 451bf7bb0d
2 changed files with 5 additions and 2 deletions

View File

@ -22,8 +22,6 @@ top_dir = os.path.abspath(os.path.join(os.path.dirname(__file__),
os.pardir))
sys.path.insert(0, top_dir)
# To get this installed you may have to follow:
# https://code.google.com/p/pydot/issues/detail?id=93 (until fixed).
import pydot
from ironic.common import states

View File

@ -18,6 +18,11 @@ commands =
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:genstates]
deps = {[testenv]deps}
pydot2
commands = {toxinidir}/tools/states_to_dot.py -f {toxinidir}/doc/source/images/states.png
[testenv:pep8]
commands =
flake8 {posargs}