Add tox 'specs' test to pep8 environment

It turns out the gate doesn't actually use tox for the docs test,
so in order to catch errors in specs, this commit moves the tox
specs testing to the pep8 environment, where the gate actually does
use tox for the test.

Change-Id: I660d360eed5b109c85d7ba73d421d3973c96c452
This commit is contained in:
Stephen Balukoff 2016-09-08 18:11:36 -07:00
parent e291a88210
commit 26ab83e9aa

View File

@ -42,12 +42,13 @@ commands = flake8
CONSTITUTION.rst HACKING.rst README.rst
# Run security linter
bandit -r octavia -ll -ii -x octavia/tests
# Make sure specs follow our template
find . -type f -name "*.pyc" -delete
python -m unittest specs-tests.test_titles
[testenv:docs]
commands =
python setup.py build_sphinx
find . -type f -name "*.pyc" -delete
python -m unittest specs-tests.test_titles
[testenv:venv]
commands = {posargs}