MCPcopy Create free account
hub / github.com/debpalash/VoiceStudio / test_https_cookie_is_secure

Function test_https_cookie_is_secure

tests/test_auth_session_api.py:101–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99
100
101def test_https_cookie_is_secure():
102 response = _issue_cookie(_client(https=True))
103
104 assert response.status_code == 204
105 assert "Secure" in response.headers["set-cookie"]
106
107
108def test_cookie_behind_tls_terminating_proxy_is_secure():

Callers

nothing calls this directly

Calls 2

_issue_cookieFunction · 0.85
_clientFunction · 0.70

Tested by

no test coverage detected