(self)
| 275 | self.assertEqual(C['eggs']['secure'], 'bar') |
| 276 | |
| 277 | def test_extra_spaces(self): |
| 278 | C = cookies.SimpleCookie() |
| 279 | C.load('eggs = scrambled ; secure ; path = bar ; foo=foo ') |
| 280 | self.assertEqual(C.output(), |
| 281 | 'Set-Cookie: eggs=scrambled; Path=bar; Secure\r\nSet-Cookie: foo=foo') |
| 282 | |
| 283 | def test_quoted_meta(self): |
| 284 | # Try cookie with quoted meta-data |
nothing calls this directly
no test coverage detected