def test_v2_loop_pagination_batch(v2_client, requests_mock):
response = requests.get("https://paginate.me?offset=0&limit=50")
results = list(v2_client.loop_pagination(response, batched=True))
assert results == [list(range(0, 50)), list(range(50, 100)), list(range(100, 123))]