(self, arg, expect)
| 302 | 'n; foo="foo;_", bar="foo,_"'), |
| 303 | ]) |
| 304 | def test_roundtrip(self, arg, expect): |
| 305 | input = split_header_words([arg]) |
| 306 | res = join_header_words(input) |
| 307 | self.assertEqual(res, expect, """ |
| 308 | When parsing: '%s' |
| 309 | Expected: '%s' |
| 310 | Got: '%s' |
| 311 | Input was: '%s' |
| 312 | """ % (arg, expect, res, input)) |
| 313 | |
| 314 | |
| 315 | class FakeResponse: |
nothing calls this directly
no test coverage detected