()
| 47 | |
| 48 | @pytest.fixture |
| 49 | def open_h2_server_conn(): |
| 50 | # this is a bit fake here (port 80, with alpn, but no tls - c'mon), |
| 51 | # but we don't want to pollute our tests with TLS handshakes. |
| 52 | s = Server(address=("example.com", 80)) |
| 53 | s.state = ConnectionState.OPEN |
| 54 | s.alpn = b"h2" |
| 55 | return s |
| 56 | |
| 57 | |
| 58 | def decode_frames(data: bytes) -> list[hyperframe.frame.Frame]: |
nothing calls this directly
no test coverage detected
searching dependent graphs…