From 20b4bc6ab96e007444fea5576ed5fd478f13b4e1 Mon Sep 17 00:00:00 2001 From: Chris Coutinho Date: Sat, 6 Jun 2026 14:07:01 +0200 Subject: [PATCH] test(vector): mark test_document_chunker as unit Address claude-review round 3 on PR #868: add module-level `pytestmark = pytest.mark.unit` so TestPageAwareChunker and TestDocumentChunkerPositions are collected under `-m unit`, matching test_processor_routing.py. Co-Authored-By: Claude Opus 4.8 (1M context) --- tests/unit/test_document_chunker.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/unit/test_document_chunker.py b/tests/unit/test_document_chunker.py index 9927c1c2..5ee184b2 100644 --- a/tests/unit/test_document_chunker.py +++ b/tests/unit/test_document_chunker.py @@ -1,11 +1,15 @@ """Unit tests for DocumentChunker with LangChain text splitters.""" +import pytest + from nextcloud_mcp_server.vector.document_chunker import ( ChunkWithPosition, DocumentChunker, PageAwareChunker, ) +pytestmark = pytest.mark.unit + def _make_doc(pages: list[str]) -> tuple[str, list[dict]]: """Build (full_text, page_boundaries) the way the PDF extractors do.