Add whereto for testing redirect rules
Use whereto to test that the redirect rules do what we expect. Change-Id: Id3a8f3b9f372ebe9176f1df917f7a6aac30a8e92 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
3659df6e75
commit
4b4dd5ecf8
|
@ -0,0 +1,2 @@
|
||||||
|
/placement/latest/specs/train/approved/2005297-negative-aggregate-membership.html 301 /placement/latest/specs/train/implemented/2005297-negative-aggregate-membership.html
|
||||||
|
/placement/latest/specs/train/approved/placement-resource-provider-request-group-mapping-in-allocation-candidates.html 301 /placement/latest/specs/train/implemented/placement-resource-provider-request-group-mapping-in-allocation-candidates.html
|
2
tox.ini
2
tox.ini
|
@ -114,6 +114,8 @@ deps = -r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
rm -rf doc/build
|
rm -rf doc/build
|
||||||
sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
|
sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
|
||||||
|
# Test the redirects
|
||||||
|
whereto doc/build/html/.htaccess doc/test/redirect-tests.txt
|
||||||
{[testenv:api-ref]commands}
|
{[testenv:api-ref]commands}
|
||||||
|
|
||||||
[testenv:api-ref]
|
[testenv:api-ref]
|
||||||
|
|
Loading…
Reference in New Issue