]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
test_02_download: fix paramters to test_02_27
authorStefan Eissing <stefan@eissing.org>
Wed, 6 Dec 2023 11:08:20 +0000 (12:08 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 7 Dec 2023 08:32:46 +0000 (09:32 +0100)
- it is a special client that only ever uses http/2

Closes #12467

tests/http/test_02_download.py

index 391371c31c0f3cab36dc50153c3a75e7651b88ec..4db9c9d36e9ed5eed805080cf539299ef0d1acf0 100644 (file)
@@ -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)