()
| 99 | |
| 100 | |
| 101 | def 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 | |
| 108 | def test_cookie_behind_tls_terminating_proxy_is_secure(): |
nothing calls this directly
no test coverage detected