scholarr/tests/unit
Justin Visser 3fd9132176 refactor: fix naming, remove duplicate code from decomposition
- Rename _int_or_default → int_or_default (public API, was using private convention)
- Extract shared pdf_queue utilities (utcnow, event_row, queued_job, status constants) to pdf_queue_common.py to avoid circular imports
- Consolidate _effective_request_delay_seconds into queue_runner.py with explicit floor parameter
- Update tests to match new function locations and names

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-27 16:07:24 +01:00
..
services/domains Initial release prep 2026-02-27 10:46:05 +01:00
test_auth_primitives.py remove legacy in-memory search state fallback 2026-02-19 22:31:26 +01:00
test_crossref_lookup.py Initial release prep 2026-02-27 10:46:05 +01:00
test_doi_normalize.py Initial release prep 2026-02-27 10:46:05 +01:00
test_fingerprints.py Initial release prep 2026-02-27 10:46:05 +01:00
test_healthz.py removed old UI 2026-02-17 15:21:08 +01:00
test_ingestion_arxiv_rate_limit.py decompose application.py into enrichment, scholar processing, run completion 2026-02-27 14:19:39 +01:00
test_ingestion_progress_reporting.py decompose application.py into enrichment, scholar processing, run completion 2026-02-27 14:19:39 +01:00
test_logging.py ci: add ruff linting and mypy type checking 2026-02-26 22:11:41 +01:00
test_publication_identifiers.py Initial release prep 2026-02-27 10:46:05 +01:00
test_publication_pdf_queue_policy.py refactor: fix naming, remove duplicate code from decomposition 2026-02-27 16:07:24 +01:00
test_publication_pdf_resolution_pipeline.py Initial release prep 2026-02-27 10:46:05 +01:00
test_request_delay_policy.py refactor: fix naming, remove duplicate code from decomposition 2026-02-27 16:07:24 +01:00
test_run_safety.py Initial release prep 2026-02-27 10:46:05 +01:00
test_runs_summary.py Initial release prep 2026-02-27 10:46:05 +01:00
test_scholar_parser.py decompose application.py into enrichment, scholar processing, run completion 2026-02-27 14:19:39 +01:00
test_scholar_search_safety.py Initial release prep 2026-02-27 10:46:05 +01:00
test_scholar_source.py decompose application.py into enrichment, scholar processing, run completion 2026-02-27 14:19:39 +01:00
test_scholars_create_hydration.py refactor: extract helpers from oversized router and scheduler files 2026-02-27 15:41:23 +01:00
test_security_headers.py feat: production-harden app and finalize merge-ready UX/theme baseline 2026-02-19 15:43:20 +01:00
test_unpaywall_pdf_discovery.py Initial release prep 2026-02-27 10:46:05 +01:00
test_unpaywall_resolution.py Initial release prep 2026-02-27 10:46:05 +01:00
test_user_settings.py Initial release prep 2026-02-27 10:46:05 +01:00