MCPcopy Index your code
hub / github.com/python/cpython / test_parse_ns_headers

Method test_parse_ns_headers

Lib/test/test_http_cookiejar.py:202–205  ·  view source on GitHub ↗
(self, hdr)

Source from the content-addressed store, hash-verified

200 'foo=bar; expires="01 Jan 2040 22:23:32 GMT"',
201 ])
202 def test_parse_ns_headers(self, hdr):
203 # quotes should be stripped
204 expected = [[('foo', 'bar'), ('expires', 2209069412), ('version', '0')]]
205 self.assertEqual(parse_ns_headers([hdr]), expected)
206
207 @support.subTests('hdr', [
208 'foo=bar; version="1"',

Callers

nothing calls this directly

Calls 2

parse_ns_headersFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected