Add unit tests and Gitea CI workflow for bug fixes
Tests / test (pull_request) Failing after 3m11s

- Add fetcher/tests/ with 21 tests covering all bug fixes:
  - test_utils: get_with_protocol URL normalization (5 tests)
  - test_config: scheduled_tasks.json PK uniqueness, Celery queue
    settings (7 tests)
  - test_publish: URL routing and view for /task/publish_<id>/ (4 tests)
  - test_template_field: url_detail.html renders images_url field (2 tests)
  - test_search_postprocess: URL host filtering and param stripping (3 tests)
- Replace empty fetcher/tests.py with tests/ package
- Add .gitea/workflows/test.yml: runs on PRs and pushes to main,
  installs dependencies and runs `manage.py test fetcher.tests`
This commit is contained in:
Luciano Gervasoni committed 2026-09-02 09:42:07 -03:00
1 parent 3a33697ca3
commit d18eda2fc4
8 files changed
+298 -3

No files matched your search

View File
Whitespace-only changes.