(data: bytes, err: bytes, msg: str, tctx: Context)
| 456 | ], |
| 457 | ) |
| 458 | def test_socks5_err(data: bytes, err: bytes, msg: str, tctx: Context): |
| 459 | playbook = Playbook(modes.Socks5Proxy(tctx), logs=True) >> DataReceived( |
| 460 | tctx.client, data |
| 461 | ) |
| 462 | if err: |
| 463 | playbook << SendData(tctx.client, err) |
| 464 | playbook << CloseConnection(tctx.client) |
| 465 | playbook << Log(msg) |
| 466 | assert playbook |
| 467 | |
| 468 | |
| 469 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…