(self, hdr)
| 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"', |
nothing calls this directly
no test coverage detected