8000 fix test_download_file_scheme_https_oserror · snoweaver/python-for-android@0039087 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0039087

Browse files
authored
fix test_download_file_scheme_https_oserror
1 parent 01518f5 commit 0039087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_recipe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ def test_download_file_scheme_https_oserror(self):
179179
retry = 5
180180
expected_call_args_list = [mock.call(url, filename, mock.ANY)] * retry
181181
assert m_urlretrieve.call_args_list == expected_call_args_list
182-
expected_call_args_list = [mock.call(1)] * (retry - 1)
182+
expected_call_args_list = [mock.call(2**i) for i in range(retry - 1)]
183183
assert m_sleep.call_args_list == expected_call_args_list
184184

3AC3 185185

0 commit comments

Comments
 (0)
0