Only skip wss tests

pull/9625/head
coletdjnz 2 weeks ago
parent 6282570bb2
commit 82cceaed31
No known key found for this signature in database
GPG Key ID: 91984263BB39894A

@ -394,8 +394,10 @@ class TestHTTPProxy:
('Websockets', 'wss')
], indirect=True)
@pytest.mark.skip_handler_if(
'Websockets', lambda _: platform.python_implementation() == 'PyPy',
'PyPy sometimes fails with these tests, unknown reason')
'Websockets', lambda request:
(platform.python_implementation() == 'PyPy'
and request.getfixturevalue('ctx').REQUEST_PROTO == 'wss'),
'PyPy sometimes fails with wss tests, unknown reason')
class TestHTTPConnectProxy:
def test_http_connect_no_auth(self, handler, ctx):
with ctx.http_server(HTTPConnectProxyHandler) as server_address:

Loading…
Cancel
Save