Skip to content

Commit cb2ecf4

Browse files
committed
Fix tests
1 parent c59a1aa commit cb2ecf4

File tree

3 files changed

+0
-20
lines changed

3 files changed

+0
-20
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ target-version = ["py310"]
2020
minversion = "6.0"
2121
required_plugins = "pytest-cov"
2222
testpaths = ["tests"]
23-
asyncio_default_fixture_loop_scope = "session"

tests/integration/test_config_handling.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff 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)
211193
def test_rp_issue_system_url_warning(mock_client_init):
212194
url = "https://bugzilla.some.com/show_bug.cgi?id={issue_id}"

tests/unit/test_plugin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)