Our testinfra/test_static.py set of test cases has a test case for
docs.openstack.org redirects to the latest openstack version. This was a
301 permanent redirect which was not correct because new openstack
versions are created and the redirect gets updated. To fix this the
redirect was updated to a 302 temporary redirect in this change [0].
Unfortunately, this means our test infra test case is broken. This
change updates our test case to look for a 302 redirect instead of 301
to fix this. I checked the other redirect tests we run and they all
appear to match reality of 301s still.
[0] https://review.opendev.org/c/openstack/openstack-manuals/+/962684
Change-Id: Ia05396d51288eb7ef3847e6bc3ed30c8e2ee7b9b