Fix pylint warning

This commit is contained in:
Leo Alt
2022-08-29 11:50:29 +02:00
parent 7bfec3ba70
commit e99e93ff5b
2 changed files with 4 additions and 3 deletions
@@ -31,7 +31,7 @@ def _git_run_command_mock(command):
"If you have updated the code, please remember to add matching command fixtures above."
)
def _requests_get_mock(url, params):
def _requests_get_mock(url, params, timeout):
response_mock = Mock()
if url == 'https://api.github.com/repos/ethereum/solidity/pulls/12818':
@@ -174,6 +174,7 @@ def _requests_get_mock(url, params):
"The test tried to perform an unexpected GET request.\n"
f"URL: {url}\n" +
(f"query: {params}\n" if len(params) > 0 else "") +
f"timeout: {timeout}\n" +
"If you have updated the code, please remember to add matching response fixtures above."
)