2021-12-06 15:59:13 +00:00
|
|
|
import pytest
|
|
|
|
|
|
|
|
|
|
|
2023-08-25 09:12:23 -07:00
|
|
|
@pytest.mark.parametrize(
|
|
|
|
|
"url",
|
|
|
|
|
[
|
|
|
|
|
"/security.txt",
|
|
|
|
|
"/.well-known/security.txt",
|
|
|
|
|
],
|
|
|
|
|
)
|
2021-12-06 15:59:13 +00:00
|
|
|
def test_security_policy_redirects_to_policy(client_request, url):
|
|
|
|
|
client_request.get_url(
|
|
|
|
|
url,
|
2024-10-16 08:38:12 -07:00
|
|
|
_test_page_title=False,
|
|
|
|
|
_expected_status=200,
|
2021-12-06 15:59:13 +00:00
|
|
|
)
|