@@ -25,9 +25,13 @@ def test_sync_managers_use_job_fetch_helpers_with_defaults():
2525 module_text = Path (module_path ).read_text (encoding = "utf-8" )
2626 assert "fetch_job_result_with_defaults(" in module_text
2727 assert "collect_paginated_results_with_defaults(" in module_text
28+ assert "read_page_current_batch" in module_text
29+ assert "read_page_total_batches" in module_text
2830 assert "retry_operation(" not in module_text
2931 assert "collect_paginated_results(" not in module_text
3032 assert "build_fetch_operation_name(" not in module_text
33+ assert "get_current_page_batch=lambda page_response:" not in module_text
34+ assert "get_total_page_batches=lambda page_response:" not in module_text
3135 assert "max_attempts=POLLING_ATTEMPTS" not in module_text
3236 assert "retry_delay_seconds=0.5" not in module_text
3337
@@ -37,8 +41,12 @@ def test_async_managers_use_job_fetch_helpers_with_defaults():
3741 module_text = Path (module_path ).read_text (encoding = "utf-8" )
3842 assert "fetch_job_result_with_defaults_async(" in module_text
3943 assert "collect_paginated_results_with_defaults_async(" in module_text
44+ assert "read_page_current_batch" in module_text
45+ assert "read_page_total_batches" in module_text
4046 assert "retry_operation_async(" not in module_text
4147 assert "collect_paginated_results_async(" not in module_text
4248 assert "build_fetch_operation_name(" not in module_text
49+ assert "get_current_page_batch=lambda page_response:" not in module_text
50+ assert "get_total_page_batches=lambda page_response:" not in module_text
4351 assert "max_attempts=POLLING_ATTEMPTS" not in module_text
4452 assert "retry_delay_seconds=0.5" not in module_text
0 commit comments