File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ The following parameters are optional:
6868- :code: `rp_hierarchy_class = True ` - Enables hierarchy for class, default `True `. Doesn't support 'xdist' plugin.
6969- :code: `rp_hierarchy_parametrize = True ` - Enables hierarchy parametrized tests, default `False `. Doesn't support 'xdist' plugin.
7070- :code: `rp_hierarchy_dirs_level = 0 ` - Directory starting hierarchy level (from pytest.ini level) (default `0 `)
71- - :code: `rp_ignore_ssl = False ` - Ignore SSL Errors when connecting to the server
71+ - :code: `rp_verify_ssl = True ` - Verify SSL when connecting to the server
7272
7373
7474Examples
Original file line number Diff line number Diff line change @@ -46,8 +46,6 @@ def pytest_sessionstart(session):
4646 if not session .config .option .rp_enabled :
4747 return
4848
49- verify_ssl = not session .config .getini ('rp_ignore_ssl' )
50-
5149 if is_master (session .config ):
5250 session .config .py_test_service .init_service (
5351 project = session .config .getini ('rp_project' ),
@@ -56,7 +54,7 @@ def pytest_sessionstart(session):
5654 log_batch_size = int (session .config .getini ('rp_log_batch_size' )),
5755 ignore_errors = bool (session .config .getini ('rp_ignore_errors' )),
5856 ignored_tags = session .config .getini ('rp_ignore_tags' ),
59- verify_ssl = verify_ssl
57+ verify_ssl = session . config . getini ( 'rp_verify_ssl' )
6058 )
6159
6260 session .config .py_test_service .start_launch (
@@ -284,7 +282,7 @@ def pytest_addoption(parser):
284282 help = 'Enables hierarchy for parametrized tests' )
285283
286284 parser .addini (
287- 'rp_ignore_ssl ' ,
288- default = False ,
285+ 'rp_verify_ssl ' ,
286+ default = True ,
289287 type = 'bool' ,
290- help = 'Ignores ssl errors ' )
288+ help = 'Verify HTTPS calls ' )
You can’t perform that action at this time.
0 commit comments