mirror of
https://github.com/curl/curl.git
synced 2026-08-26 10:33:33 +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
|
|
@ -40,8 +40,7 @@ class TestReuse:
|
|||
|
||||
# check if HTTP/1.1 handles 'Connection: close' correctly
|
||||
@pytest.mark.parametrize("proto", ['http/1.1'])
|
||||
def test_12_01_h1_conn_close(self, env: Env,
|
||||
httpd, nghttpx, repeat, proto):
|
||||
def test_12_01_h1_conn_close(self, env: Env, httpd, nghttpx, proto):
|
||||
httpd.clear_extra_configs()
|
||||
httpd.set_extra_config('base', [
|
||||
'MaxKeepAliveRequests 1',
|
||||
|
|
@ -60,8 +59,7 @@ class TestReuse:
|
|||
@pytest.mark.skipif(condition=Env.httpd_is_at_least('2.5.0'),
|
||||
reason="httpd 2.5+ handles KeepAlives different")
|
||||
@pytest.mark.parametrize("proto", ['http/1.1'])
|
||||
def test_12_02_h1_conn_timeout(self, env: Env,
|
||||
httpd, nghttpx, repeat, proto):
|
||||
def test_12_02_h1_conn_timeout(self, env: Env, httpd, nghttpx, proto):
|
||||
httpd.clear_extra_configs()
|
||||
httpd.set_extra_config('base', [
|
||||
'KeepAliveTimeout 1',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue