MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_extra_spaces

Method test_extra_spaces

Lib/test/test_http_cookies.py:255–259  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

loadMethod · 0.45
assertEqualMethod · 0.45
outputMethod · 0.45

Tested by

no test coverage detected