summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-01-25 06:48:57 +0000
committerGerrit Code Review <review@openstack.org>2018-01-25 06:48:57 +0000
commit233285de490b822f4ad47a11d308dcc19e439a04 (patch)
tree0f63acd5ad69a621c0063905a2cfa83aeb68ada0 /tox.ini
parent87ea686f9f2cc706205d188922bb14272625e7be (diff)
parentcec0faa7111ce93b5f99622b8e6174d66b25b6d0 (diff)
downloadnova-233285de490b822f4ad47a11d308dcc19e439a04.tar.gz
Merge "add whereto for testing redirect rules"
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 9cbc7f4e8a..57811fa80f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -144,6 +144,8 @@ basepython = python2.7
commands =
rm -rf doc/source/api doc/build api-guide/build api-ref/build placement-api-ref/build
python setup.py build_sphinx
+ # Test the redirects
+ whereto doc/build/html/.htaccess doc/test/redirect-tests.txt
# Check that all JSON files don't have \r\n in line.
bash -c "! find doc/ -type f -name *.json | xargs grep -U -n $'\r'"
# Check that all included JSON files are valid JSON