mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-10 21:34:10 -05:00
17 lines
362 B
Python
17 lines
362 B
Python
import pytest
|
|
|
|
|
|
@pytest.mark.parametrize(
|
|
"url",
|
|
[
|
|
"/security.txt",
|
|
"/.well-known/security.txt",
|
|
],
|
|
)
|
|
def test_security_policy_redirects_to_policy(client_request, url):
|
|
client_request.get_url(
|
|
url,
|
|
_expected_status=302,
|
|
_expected_redirect="https://vdp.cabinetoffice.gov.uk/.well-known/security.txt",
|
|
)
|