"""Phase 1 tests: Document ingestion endpoint. Covers: - POST /api/v1/ingest with valid documents - Metadata extraction (filename, upload_date, content_summary) - ChromaDB persistence with embeddings - Error handling for unsupported file types """ import pytest class TestIngest: """Document upload and ChromaDB ingestion tests.""" def test_ingest_pdf_success(self): """Should ingest PDF and return document ID with metadata.""" pass # TODO: implement def test_ingest_txt_success(self): """Should ingest plain text and chunk correctly.""" pass # TODO: implement def test_ingest_metadata_extraction(self): """Should extract filename, upload_date, content_summary.""" pass # TODO: implement def test_ingest_unsupported_format(self): """Should reject unsupported file formats.""" pass # TODO: implement