pig.py/tests/unit
Russell Ballestrini c7c20c5bce Refactor serp.py into serp/ package, add /eggs endpoint
- Extract serp.py into serp/ package for better testability
  - serp/app.py: FastAPI app, LanguageMiddleware
  - serp/server.py: All route handlers
  - serp/i18n.py: Translations, LANG_NAMES with flags
  - serp/models.py: CrawlRequest model
  - serp/archive.py: Tarball handling
  - serp/logging.py: Job logging
  - serp/utils.py: slugify function
- Add /eggs endpoint listing easter eggs:
  - #0: ?lang=XX forces language via middleware
  - #1: OVER_9000 pagination limit
  - #2: The 72 Rules of St. Benedict (A Way)
- Fix test module import issue (app_module -> app_config)
- LANG_NAMES includes flags and codes (e.g., 🇺🇸 EN English)
2026-01-05 19:16:04 -05:00
..
test_archive.py Extract i18n to module, add Georgian, translate about page body 2026-01-05 10:16:48 -05:00
test_async_filevault.py Update tests for filevault 2.0.0 API 2025-12-31 16:03:43 -05:00
test_async_web_fetcher.py Fix tests for code media type, add source URL and lore 2026-01-02 13:41:10 -05:00
test_database.py Fix test_database.py method names to match Database API 2026-01-05 14:57:49 -05:00
test_domain_vault.py Add comprehensive unit tests for async modules 2025-12-22 20:40:58 -05:00
test_filevault.py Update tests for filevault 2.0.0 API 2025-12-31 16:03:43 -05:00
test_neopig.py Refactor: Extract neopig package from neopig.py 2026-01-05 17:30:58 -05:00
test_neopig_html_utils.py Refactor: Extract neopig package from neopig.py 2026-01-05 17:30:58 -05:00
test_neopig_live.py Refactor: Extract neopig package from neopig.py 2026-01-05 17:30:58 -05:00
test_neopig_logging.py Refactor: Extract neopig package from neopig.py 2026-01-05 17:30:58 -05:00
test_neopig_state.py Refactor: Extract neopig package from neopig.py 2026-01-05 17:30:58 -05:00
test_repo.py Extract i18n to module, add Georgian, translate about page body 2026-01-05 10:16:48 -05:00
test_screenshot.py Update tests for filevault 2.0.0 API 2025-12-31 16:03:43 -05:00
test_serp.py Refactor serp.py into serp/ package, add /eggs endpoint 2026-01-05 19:16:04 -05:00
test_storage.py Unify filevault: merge storage.py into single sync+async module 2025-12-31 15:44:39 -05:00