Files
paperless-ngx/src/documents
Trenton H 12eb9b9abf Fix: add _search_index fixture to TestDateWorkflowLocalization
Tests that create or consume documents trigger the search index signal handler,
which calls get_backend().add_or_update() against settings.INDEX_DIR. This
class only inherited SampleDirMixin, leaving INDEX_DIR pointing at the default
non-existent path and causing FileNotFoundError in CI.

Added _search_index fixture to documents/tests/conftest.py: creates a temp
index directory, overrides INDEX_DIR, and resets the backend singleton.
Applied via @pytest.mark.usefixtures on the class.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-30 15:36:03 -07:00
..
2026-03-04 13:31:20 -08:00
2026-01-13 16:24:42 +00:00
2026-02-16 09:37:33 -08:00
2025-12-12 09:28:47 -08:00