/curl/tests/http/ |
H A D | test_02_download.py | 34 import pytest 64 pytest.skip("h3 not supported") 74 pytest.skip("h3 not supported") 85 pytest.skip("h3 not supported") 97 pytest.skip("h3 not supported") 118 pytest.skip("h3 not supported") 120 pytest.skip("msh3 shaky here") 138 pytest.skip("h3 not supported") 153 pytest.skip("h3 not supported") 186 pytest.skip("h3 not supported") [all …]
|
H A D | test_10_proxy.py | 31 import pytest 41 @pytest.fixture(autouse=True, scope='class') 72 @pytest.mark.parametrize("proto", ['http/1.1', 'h2']) 75 pytest.skip('only supported with nghttp2') 87 @pytest.mark.parametrize("fname, fcount", [ 97 pytest.skip('only supported with nghttp2') 153 pytest.skip('only supported with nghttp2') 171 @pytest.mark.parametrize("fname, fcount", [ 180 pytest.skip('only supported with nghttp2') 201 @pytest.mark.parametrize("fname, fcount", [ [all …]
|
H A D | test_08_caddy.py | 32 import pytest 44 @pytest.fixture(autouse=True, scope='class') 61 @pytest.fixture(autouse=True, scope='class') 76 pytest.skip("msh3 itself crashes") 89 pytest.skip("msh3 itself crashes") 103 pytest.skip("msh3 itself crashes") 126 pytest.skip("msh3 itself crashes") 179 pytest.skip("h3 not supported") 181 pytest.skip("msh3 stalls here") 198 pytest.skip("h3 not supported") [all …]
|
H A D | test_07_upload.py | 32 import pytest 60 pytest.skip("h3 not supported") 62 pytest.skip("msh3 fails here") 75 pytest.skip("h3 not supported") 77 pytest.skip("msh3 fails here") 91 pytest.skip("h3 not supported") 93 pytest.skip("msh3 stalls here") 108 pytest.skip("h3 not supported") 110 pytest.skip("msh3 stalls here") 127 pytest.skip("h3 not supported") [all …]
|
H A D | test_14_auth.py | 29 import pytest 39 @pytest.fixture(autouse=True, scope='class') 51 pytest.skip("h3 not supported") 61 pytest.skip("h3 not supported") 73 pytest.skip("h3 not supported") 83 @pytest.mark.parametrize("proto", ['h2', 'h3']) 86 pytest.skip("h3 not supported") 100 @pytest.mark.parametrize("proto", ['h2', 'h3']) 103 pytest.skip("h3 not supported") 120 @pytest.mark.parametrize("proto", ['h2', 'h3']) [all …]
|
H A D | test_19_shutdown.py | 29 import pytest 39 @pytest.fixture(autouse=True, scope='class') 46 @pytest.fixture(autouse=True, scope='class') 55 @pytest.mark.parametrize("proto", ['http/1.1']) 58 pytest.skip("seems not to work in CI") 70 @pytest.mark.parametrize("proto", ['http/1.1', 'h2']) 87 @pytest.mark.parametrize("proto", ['http/1.1']) 106 @pytest.mark.parametrize("proto", ['http/1.1']) 129 @pytest.mark.parametrize("proto", ['http/1.1']) 157 @pytest.mark.parametrize("proto", ['h2', 'h3']) [all …]
|
H A D | test_17_ssl_use.py | 31 import pytest 41 @pytest.fixture(autouse=True, scope='class') 47 @pytest.fixture(autouse=True, scope='function') 107 pytest.skip("h3 not supported") 122 pytest.skip("h3 not supported") 148 pytest.skip("h3 not supported") 163 pytest.skip("h3 not supported") 253 pytest.skip("h3 not supported") 319 pytest.skip("h3 not supported") 349 pytest.skip("h3 not supported") [all …]
|
H A D | conftest.py | 31 import pytest 75 @pytest.fixture(scope="package") 81 pytest.skip("curl built without HTTP support") 83 pytest.skip("curl built without HTTPS support") 85 pytest.skip(env.incomplete_reason()) 90 @pytest.fixture(scope="package", autouse=True) 95 @pytest.fixture(scope='package') 99 pytest.skip(f'httpd not found: {env.httpd}') 102 pytest.fail(f'failed to start httpd: {env.httpd}') 107 @pytest.fixture(scope='package') [all …]
|
H A D | test_13_proxy_auth.py | 29 import pytest 37 @pytest.mark.skipif(condition=Env.setup_incomplete(), 41 @pytest.fixture(autouse=True, scope='class') 78 @pytest.mark.skipif(condition=not Env.curl_has_feature('HTTPS-proxy'), 89 @pytest.mark.skipif(condition=not Env.curl_has_feature('HTTPS-proxy'), 122 @pytest.mark.parametrize("proto", ['http/1.1', 'h2']) 123 @pytest.mark.parametrize("tunnel", ['http/1.1', 'h2']) 126 pytest.skip('only supported with nghttp2') 140 @pytest.mark.parametrize("proto", ['http/1.1', 'h2']) 141 @pytest.mark.parametrize("tunnel", ['http/1.1', 'h2']) [all …]
|
H A D | test_05_errors.py | 28 import pytest 36 @pytest.mark.skipif(condition=not Env.httpd_is_at_least('2.4.55'), 40 @pytest.fixture(autouse=True, scope='class') 48 @pytest.mark.parametrize("proto", ['http/1.1', 'h2', 'h3']) 52 pytest.skip("h3 not supported") 54 pytest.skip("msh3 stalls here") 71 @pytest.mark.parametrize("proto", ['h2', 'h3']) 75 pytest.skip("h3 not supported") 77 pytest.skip("msh3 stalls here") 119 @pytest.mark.parametrize("proto", ['http/1.0', 'http/1.1', 'h2']) [all …]
|
H A D | test_04_stuttered.py | 29 import pytest 38 @pytest.mark.skipif(condition=Env().ci_run, reason="not suitable for CI runs") 41 @pytest.fixture(autouse=True, scope='class') 49 @pytest.mark.parametrize("proto", ['http/1.1', 'h2', 'h3']) 53 pytest.skip("h3 not supported") 65 @pytest.mark.parametrize("proto", ['h2', 'h3']) 69 pytest.skip("h3 not supported") 88 @pytest.mark.parametrize("proto", ['h2', 'h3']) 91 pytest.skip("h3 not supported") 110 @pytest.mark.parametrize("proto", ['h2', 'h3']) [all …]
|
H A D | test_01_basic.py | 28 import pytest 39 @pytest.fixture(autouse=True, scope='class') 53 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL") 62 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL") 71 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL") 80 @pytest.mark.skipif(condition=not Env.have_h3(), reason="h3 not supported") 89 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL") 90 @pytest.mark.parametrize("proto", ['http/1.1', 'h2', 'h3']) 93 pytest.skip("h3 not supported") 104 @pytest.mark.parametrize("proto", ['http/1.1', 'h2', 'h3']) [all …]
|
H A D | test_20_websockets.py | 33 import pytest 41 @pytest.mark.skipif(condition=not Env.curl_has_protocol('ws'), 64 @pytest.fixture(autouse=True, scope='class') 91 pytest.skip(f'example client not built: {client.name}') 101 pytest.skip(f'example client not built: {client.name}') 110 pytest.skip(f'example client not built: {client.name}') 119 pytest.skip(f'example client not built: {client.name}') 128 pytest.skip(f'example client not built: {client.name}') 139 pytest.skip(f'example client not built: {client.name}')
|
H A D | test_16_info.py | 29 import pytest 39 @pytest.fixture(autouse=True, scope='class') 46 @pytest.fixture(autouse=True, scope='class') 54 @pytest.mark.parametrize("proto", ['http/1.1', 'h2', 'h3']) 57 pytest.skip("h3 not supported") 69 @pytest.mark.parametrize("proto", ['http/1.1', 'h2', 'h3']) 72 pytest.skip("h3 not supported") 85 @pytest.mark.parametrize("proto", ['http/1.1', 'h2', 'h3']) 88 pytest.skip("h3 not supported") 106 @pytest.mark.parametrize("proto", ['http/1.1'])
|
H A D | test_18_methods.py | 28 import pytest 38 @pytest.fixture(autouse=True, scope='class') 50 @pytest.mark.parametrize("proto", ['http/1.1', 'h2', 'h3']) 53 pytest.skip("h3 not supported")
|
H A D | test_06_eyeballs.py | 28 import pytest 38 @pytest.fixture(autouse=True, scope='class') 46 @pytest.mark.skipif(condition=not Env.have_h3(), reason="missing HTTP/3 support") 55 @pytest.mark.skipif(condition=not Env.have_h3(), reason="missing HTTP/3 support") 64 @pytest.mark.skipif(condition=not Env.have_h3(), reason="missing HTTP/3 support") 74 @pytest.mark.skipif(condition=not Env.have_h3(), reason="missing HTTP/3 support")
|
H A D | test_12_reuse.py | 30 import pytest 38 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL") 42 @pytest.mark.parametrize("proto", ['http/1.1']) 60 @pytest.mark.skipif(condition=Env.httpd_is_at_least('2.5.0'), 62 @pytest.mark.parametrize("proto", ['http/1.1']) 80 @pytest.mark.skipif(condition=not Env.have_h3(), reason="h3 not supported")
|
H A D | test_03_goaway.py | 31 import pytest 41 @pytest.fixture(autouse=True, scope='class') 80 @pytest.mark.skipif(condition=not Env.have_h3(), reason="h3 not supported") 84 pytest.skip("msh3 stalls here") 86 pytest.skip('OpenSSL QUIC fails here')
|
H A D | test_31_vsftpds.py | 32 import pytest 40 @pytest.mark.skipif(condition=not Env.has_vsftpd(), reason="missing vsftpd") 45 @pytest.fixture(autouse=True, scope='class') 48 pytest.skip('vsftpd does not seem to support SSL') 53 pytest.skip('vsftpd does not seem to support SSL') 67 @pytest.fixture(autouse=True, scope='class') 90 @pytest.mark.parametrize("docname", [ 102 @pytest.mark.parametrize("docname", [ 114 @pytest.mark.parametrize("docname", [ 128 @pytest.mark.parametrize("docname", [ [all …]
|
H A D | test_30_vsftpd.py | 32 import pytest 40 @pytest.mark.skipif(condition=not Env.has_vsftpd(), reason="missing vsftpd") 43 @pytest.fixture(autouse=True, scope='class') 60 @pytest.fixture(autouse=True, scope='class') 83 @pytest.mark.parametrize("docname", [ 95 @pytest.mark.parametrize("docname", [ 107 @pytest.mark.parametrize("docname", [ 121 @pytest.mark.parametrize("docname", [ 140 @pytest.mark.skipif(condition=not Env.tcpdump(), reason="tcpdump not available") 152 @pytest.mark.skipif(condition=not Env.tcpdump(), reason="tcpdump not available")
|
H A D | test_09_push.py | 29 import pytest 39 @pytest.fixture(autouse=True, scope='class') 80 pytest.skip(f'example client not built: {client.name}')
|
H A D | test_11_unix.py | 33 import pytest 93 @pytest.fixture(scope="class") 112 @pytest.mark.skipif(condition=not Env.have_ssl_curl(), reason="curl without SSL") 123 @pytest.mark.skipif(condition=not Env.have_h3(), reason='h3 not supported')
|
/curl/tests/http/testenv/ |
H A D | __init__.py | 27 import pytest 28 pytest.register_assert_rewrite("testenv.env", "testenv.curl", "testenv.caddy",
|
/curl/tests/ |
H A D | Makefile.am | 145 PYTEST = pytest 183 default-pytest: ci-pytest 185 ci-pytest: all
|
/curl/ |
H A D | Makefile.am | 126 pytest: test target 127 pytest-ci: test 155 pytest: target 156 @(cd tests; $(MAKE) all default-pytest) 158 pytest-ci: 159 @(cd tests; $(MAKE) all ci-pytest)
|