save_bulk/test_lister: Fix flake8 warnings

This commit is contained in:
Antoine Lambert 2025-02-14 13:33:32 +01:00
parent 4b3a12fe76
commit db00f23ec0
No known key found for this signature in database
GPG key ID: D026E5C2F802586D

View file

@ -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=[],
)