(self)
| 22 | self.assertNotHasAttr(p, '__dict__') |
| 23 | |
| 24 | def test_protocol(self): |
| 25 | f = mock.Mock() |
| 26 | p = asyncio.Protocol() |
| 27 | self.assertIsNone(p.connection_made(f)) |
| 28 | self.assertIsNone(p.connection_lost(f)) |
| 29 | self.assertIsNone(p.data_received(f)) |
| 30 | self.assertIsNone(p.eof_received()) |
| 31 | self.assertIsNone(p.pause_writing()) |
| 32 | self.assertIsNone(p.resume_writing()) |
| 33 | self.assertNotHasAttr(p, '__dict__') |
| 34 | |
| 35 | def test_buffered_protocol(self): |
| 36 | f = mock.Mock() |
nothing calls this directly
no test coverage detected