(self)
| 416 | self.assertEqual(self.protocol.close_code, CloseCode.GOING_AWAY) |
| 417 | |
| 418 | def test_close_reason(self): |
| 419 | self.close_connection(CloseCode.GOING_AWAY, "Bye!") |
| 420 | self.assertEqual(self.protocol.close_reason, "Bye!") |
| 421 | |
| 422 | def test_close_code_not_set(self): |
| 423 | self.assertIsNone(self.protocol.close_code) |
nothing calls this directly
no test coverage detected