add whereto for testing redirects

Set up whereto so that any redirect rules added to the .htaccess file
can be tested.

Change-Id: I2238a2163c26b7df9c6a3dfaf0f8701631ff2cc5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-11-28 12:03:00 -05:00 committed by Brian Rosmaita
parent c0bcb4585d
commit daaba42170
3 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,3 @@
# This file contains tests for redirects to handle existing URLs for
# specs that have been moved. See
# https://docs.openstack.org/whereto/latest/ for details.

View File

@ -12,3 +12,4 @@ sphinxcontrib-seqdiag
testrepository>=0.0.18
testtools>=0.9.34
yasfb>=0.5.1
whereto>=0.3.0 # Apache-2.0

View File

@ -19,3 +19,4 @@ whitelist_externals =
commands =
rm -rf doc/build
python setup.py build_sphinx
whereto doc/source/_extra/.htaccess doc/test/redirect-tests.txt