From: Stefan Eissing Date: Wed, 6 Dec 2023 11:08:20 +0000 (+0100) Subject: test_02_download: fix paramters to test_02_27 X-Git-Tag: curl-8_6_0~244 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca6bafce95365fadd906a533bb16e47b638c5c2a;p=thirdparty%2Fcurl.git test_02_download: fix paramters to test_02_27 - it is a special client that only ever uses http/2 Closes #12467 --- diff --git a/tests/http/test_02_download.py b/tests/http/test_02_download.py index 391371c31c..4db9c9d36e 100644 --- a/tests/http/test_02_download.py +++ b/tests/http/test_02_download.py @@ -386,13 +386,10 @@ class TestDownload: r.check_exit_code(0) # test on paused transfers, based on issue #11982 - @pytest.mark.parametrize("proto", ['h2', 'h3']) - def test_02_27_paused_no_cl(self, env: Env, httpd, nghttpx, proto, repeat): - if proto == 'h3' and not env.have_h3(): - pytest.skip("h3 not supported") + def test_02_27_paused_no_cl(self, env: Env, httpd, nghttpx, repeat): + proto = 'h2' url = f'https://{env.authority_for(env.domain1, proto)}' \ - f'/tweak?'\ - '&chunks=2&chunk_size=16000' + '/tweak?&chunks=2&chunk_size=16000' client = LocalClient(env=env, name='h2-pausing') r = client.run(args=[url]) r.check_exit_code(0)