Skip to content
Snippets Groups Projects
Verified Commit db00f23e authored by Antoine Lambert's avatar Antoine Lambert
Browse files

save_bulk/test_lister: Fix flake8 warnings

parent 4b3a12fe
No related branches found
No related tags found
1 merge request!547Apply swh-py-template v0.3.3 with copier
Pipeline #13262 passed
......@@ -45,11 +45,11 @@ def origins_list_requests_mock(requests_mock):
nb_pages = len(SUBMITTED_ORIGINS) // PER_PAGE
for i in range(nb_pages):
requests_mock.get(
f"{URL}?page={i+1}&per_page={PER_PAGE}",
f"{URL}?page={i + 1}&per_page={PER_PAGE}",
json=SUBMITTED_ORIGINS[i * PER_PAGE : (i + 1) * PER_PAGE],
)
requests_mock.get(
f"{URL}?page={nb_pages+1}&per_page={PER_PAGE}",
f"{URL}?page={nb_pages + 1}&per_page={PER_PAGE}",
json=[],
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment