(self)
| 112 | self.assertEqual(to_bytes("").join(input_wrapper), data, '') |
| 113 | |
| 114 | def test_seek(self): |
| 115 | data = to_bytes("A line\nAnother line\nA final line\n") |
| 116 | input_wrapper = InputWrapper(BytesIO(data)) |
| 117 | input_wrapper.seek(0) |
| 118 | self.assertEqual(to_bytes("").join(input_wrapper), data, '') |
| 119 | |
| 120 | |
| 121 | class TestMiddleware2(unittest.TestCase): |
nothing calls this directly
no test coverage detected