Skip to content

Commit

Permalink
Refactoring headers' tests
Browse files Browse the repository at this point in the history
  • Loading branch information
toavina committed Feb 5, 2025
1 parent 0815e9d commit 2b2ef38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/fjelltopp_security/tests/test_headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_custom_config_values(self, app):
assert response.headers["X-Content-Type-Options"] == "custom-value"
assert response.headers["X-Permitted-Cross-Domain-Policies"] == "custom-policy"
assert response.headers["Referrer-Policy"] == "same-origin"
# CKAN will make the Cache-Control private when the url requires a session
# CKAN will make the Cache-Control private
assert response.headers["Cache-Control"] == "no-store, private"
assert response.headers["Cross-Origin-Opener-Policy"] == "same-origin"
assert response.headers["Cross-Origin-Embedder-Policy"] == "require-corp"
Expand Down

0 comments on commit 2b2ef38

Please sign in to comment.