File tree Expand file tree Collapse file tree 3 files changed +0
-20
lines changed
Expand file tree Collapse file tree 3 files changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -20,4 +20,3 @@ target-version = ["py310"]
2020minversion = " 6.0"
2121required_plugins = " pytest-cov"
2222testpaths = [" tests" ]
23- asyncio_default_fixture_loop_scope = " session"
Original file line number Diff line number Diff line change @@ -189,24 +189,6 @@ def test_rp_api_retries(mock_client_init):
189189 assert_expectations ()
190190
191191
192- @mock .patch (REPORT_PORTAL_SERVICE )
193- def test_retries (mock_client_init ):
194- retries = 5
195- variables = utils .DEFAULT_VARIABLES .copy ()
196- variables .update ({"retries" : str (retries )}.items ())
197-
198- with warnings .catch_warnings (record = True ) as w :
199- result = utils .run_pytest_tests (["examples/test_rp_logging.py" ], variables = variables )
200- assert int (result ) == 0 , "Exit code should be 0 (no errors)"
201-
202- expect (mock_client_init .call_count == 1 )
203-
204- constructor_args = mock_client_init .call_args_list [0 ][1 ]
205- expect (constructor_args ["retries" ] == retries )
206- expect (len (filter_agent_calls (w )) == 1 )
207- assert_expectations ()
208-
209-
210192@mock .patch (REPORT_PORTAL_SERVICE )
211193def test_rp_issue_system_url_warning (mock_client_init ):
212194 url = "https://bugzilla.some.com/show_bug.cgi?id={issue_id}"
Original file line number Diff line number Diff line change @@ -272,7 +272,6 @@ def test_pytest_addoption_adds_correct_ini_file_arguments():
272272 "rp_bts_url" ,
273273 "rp_verify_ssl" ,
274274 "rp_issue_id_marks" ,
275- "retries" ,
276275 "rp_api_retries" ,
277276 "rp_launch_timeout" ,
278277 "rp_client_type" ,
You can’t perform that action at this time.
0 commit comments