diff --git a/testinfra/test_static.py b/testinfra/test_static.py index 5373fc61c7..d111a73c49 100644 --- a/testinfra/test_static.py +++ b/testinfra/test_static.py @@ -108,7 +108,7 @@ def test_docs_openstack_org(host): cmd = host.run('curl --resolve docs.openstack.org:443:127.0.0.1 ' 'https://docs.openstack.org') # links to the latest, make sure it redirected us - assert '301 Moved Permanently' in cmd.stdout + assert '302 Found' in cmd.stdout def test_docs_opendev_org(host): cmd = host.run('curl --resolve docs.opendev.org:443:127.0.0.1 '