(self)
| 253 | self.assertEqual(C['eggs']['secure'], 'bar') |
| 254 | |
| 255 | def test_extra_spaces(self): |
| 256 | C = cookies.SimpleCookie() |
| 257 | C.load('eggs = scrambled ; secure ; path = bar ; foo=foo ') |
| 258 | self.assertEqual(C.output(), |
| 259 | 'Set-Cookie: eggs=scrambled; Path=bar; Secure\r\nSet-Cookie: foo=foo') |
| 260 | |
| 261 | def test_quoted_meta(self): |
| 262 | # Try cookie with quoted meta-data |
nothing calls this directly
no test coverage detected