mirror of
https://github.com/curl/curl.git
synced 2026-07-29 23:28:08 +03:00
pytest: remove 'repeat' parameter
With the use of the pytest-repeat plugin, this parameter is no longer necessary. Closes #16033
This commit is contained in:
parent
2e2c6b0b4e
commit
ef3d7877d5
22 changed files with 161 additions and 182 deletions
|
|
@ -61,7 +61,7 @@ class TestPush:
|
|||
httpd.reload()
|
||||
|
||||
# download a file that triggers a "103 Early Hints" response
|
||||
def test_09_01_h2_early_hints(self, env: Env, httpd, repeat):
|
||||
def test_09_01_h2_early_hints(self, env: Env, httpd):
|
||||
curl = CurlClient(env=env)
|
||||
url = f'https://{env.domain1}:{env.https_port}/push/data1'
|
||||
r = curl.http_download(urls=[url], alpn_proto='h2', with_stats=False,
|
||||
|
|
@ -72,7 +72,7 @@ class TestPush:
|
|||
assert 'link' in r.responses[0]['header'], f'{r.responses[0]}'
|
||||
assert r.responses[0]['header']['link'] == '</push/data2>; rel=preload', f'{r.responses[0]}'
|
||||
|
||||
def test_09_02_h2_push(self, env: Env, httpd, repeat):
|
||||
def test_09_02_h2_push(self, env: Env, httpd):
|
||||
# use localhost as we do not have resolve support in local client
|
||||
url = f'https://localhost:{env.https_port}/push/data1'
|
||||
client = LocalClient(name='h2-serverpush', env=env)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue