(self)
| 222 | 'Set-Cookie: Customer="WILE_E_COYOTE"; Max-Age=10') |
| 223 | |
| 224 | def test_set_secure_httponly_attrs(self): |
| 225 | C = cookies.SimpleCookie('Customer="WILE_E_COYOTE"') |
| 226 | C['Customer']['secure'] = True |
| 227 | C['Customer']['httponly'] = True |
| 228 | self.assertEqual(C.output(), |
| 229 | 'Set-Cookie: Customer="WILE_E_COYOTE"; HttpOnly; Secure') |
| 230 | |
| 231 | def test_set_secure_httponly_partitioned_attrs(self): |
| 232 | C = cookies.SimpleCookie('Customer="WILE_E_COYOTE"') |
nothing calls this directly
no test coverage detected