Home
last modified time | relevance | path

Searched refs:pytest (Results 1 – 25 of 31) sorted by relevance

12

/curl/tests/http/
H A Dtest_02_download.py34 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 Dtest_10_proxy.py31 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 Dtest_08_caddy.py32 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 Dtest_07_upload.py32 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 Dtest_14_auth.py29 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 Dtest_19_shutdown.py29 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 Dtest_17_ssl_use.py31 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 Dconftest.py31 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 Dtest_13_proxy_auth.py29 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 Dtest_05_errors.py28 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 Dtest_04_stuttered.py29 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 Dtest_01_basic.py28 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 Dtest_20_websockets.py33 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 Dtest_16_info.py29 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 Dtest_18_methods.py28 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 Dtest_06_eyeballs.py28 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 Dtest_12_reuse.py30 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 Dtest_03_goaway.py31 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 Dtest_31_vsftpds.py32 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 Dtest_30_vsftpd.py32 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 Dtest_09_push.py29 import pytest
39 @pytest.fixture(autouse=True, scope='class')
80 pytest.skip(f'example client not built: {client.name}')
H A Dtest_11_unix.py33 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__.py27 import pytest
28 pytest.register_assert_rewrite("testenv.env", "testenv.curl", "testenv.caddy",
/curl/tests/
H A DMakefile.am145 PYTEST = pytest
183 default-pytest: ci-pytest
185 ci-pytest: all
/curl/
H A DMakefile.am126 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)

Completed in 47 milliseconds

12