Lines Matching refs:pytest

31 import pytest
41 @pytest.fixture(autouse=True, scope='class')
70 @pytest.mark.skipif(condition=not Env.curl_has_feature('HTTPS-proxy'),
72 @pytest.mark.parametrize("proto", ['http/1.1', 'h2'])
75 pytest.skip('only supported with nghttp2')
85 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL")
86 @pytest.mark.parametrize("proto", ['http/1.1', 'h2'])
87 @pytest.mark.parametrize("fname, fcount", [
92 @pytest.mark.skipif(condition=not Env.have_nghttpx(),
97 pytest.skip('only supported with nghttp2')
122 @pytest.mark.skipif(condition=not Env.curl_has_feature('HTTPS-proxy'),
124 @pytest.mark.skipif(condition=not Env.have_nghttpx(), reason="no nghttpx available")
134 @pytest.mark.parametrize("proto", ['http/1.1', 'h2'])
135 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL")
146 @pytest.mark.skipif(condition=not Env.curl_has_feature('HTTPS-proxy'),
148 @pytest.mark.parametrize("proto", ['http/1.1', 'h2'])
149 @pytest.mark.parametrize("tunnel", ['http/1.1', 'h2'])
150 @pytest.mark.skipif(condition=not Env.have_nghttpx(), reason="no nghttpx available")
153 pytest.skip('only supported with nghttp2')
168 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL")
169 @pytest.mark.parametrize("proto", ['http/1.1', 'h2'])
170 @pytest.mark.parametrize("tunnel", ['http/1.1', 'h2'])
171 @pytest.mark.parametrize("fname, fcount", [
176 @pytest.mark.skipif(condition=not Env.have_nghttpx(), reason="no nghttpx available")
180 pytest.skip('only supported with nghttp2')
198 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL")
199 @pytest.mark.parametrize("proto", ['http/1.1', 'h2'])
200 @pytest.mark.parametrize("tunnel", ['http/1.1', 'h2'])
201 @pytest.mark.parametrize("fname, fcount", [
206 @pytest.mark.skipif(condition=not Env.have_nghttpx(), reason="no nghttpx available")
210 pytest.skip('only supported with nghttp2')
227 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL")
228 @pytest.mark.parametrize("tunnel", ['http/1.1', 'h2'])
229 @pytest.mark.skipif(condition=not Env.have_nghttpx(), reason="no nghttpx available")
232 pytest.skip('only supported with nghttp2')
250 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL")
251 @pytest.mark.parametrize("tunnel", ['http/1.1', 'h2'])
252 @pytest.mark.skipif(condition=not Env.have_nghttpx(), reason="no nghttpx available")
256 pytest.skip('only supported with nghttp2')
274 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL")
275 @pytest.mark.parametrize("tunnel", ['http/1.1', 'h2'])
276 @pytest.mark.skipif(condition=not Env.have_nghttpx(), reason="no nghttpx available")
277 …@pytest.mark.skipif(condition=not Env.curl_uses_lib('openssl'), reason="tls13-ciphers not supporte…
282 pytest.skip('only supported with nghttp2')
300 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL")
301 @pytest.mark.parametrize("tunnel", ['http/1.1', 'h2'])
302 @pytest.mark.skipif(condition=not Env.have_nghttpx(), reason="no nghttpx available")
303 …@pytest.mark.skipif(condition=not Env.curl_uses_lib('openssl'), reason="tls13-ciphers not supporte…
307 pytest.skip('only supported with nghttp2')
326 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL")
327 @pytest.mark.parametrize("tunnel", ['http/1.1', 'h2'])
328 @pytest.mark.skipif(condition=not Env.have_nghttpx(), reason="no nghttpx available")
329 …@pytest.mark.skipif(condition=not Env.curl_uses_lib('openssl'), reason="tls13-ciphers not supporte…
333 pytest.skip('only supported with nghttp2')
353 @pytest.mark.skipif(condition=not Env.curl_has_feature('HTTPS-proxy'),
355 …@pytest.mark.skipif(condition=Env.curl_uses_lib('bearssl'), reason="ip address cert verification n…
356 @pytest.mark.parametrize("proto", ['http/1.1', 'h2'])
359 pytest.skip('only supported with nghttp2')