============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-9.0.2, pluggy-1.6.0 -- /usr/bin/python3
cachedir: .pytest_cache
rootdir: /mnt/devbuntu/dev/stache-tools-ocr
configfile: pyproject.toml
plugins: anyio-4.12.0
collecting ... collected 18 items

tests/test_loader.py::TestOcrPdfLoaderProperties::test_loader_extensions PASSED [  5%]
tests/test_loader.py::TestOcrPdfLoaderProperties::test_loader_priority PASSED [ 11%]
tests/test_loader.py::TestOcrPdfLoaderProperties::test_can_handle_pdf PASSED [ 16%]
tests/test_loader.py::TestOcrPdfLoaderAdapter::test_load_success_with_ocr PASSED [ 22%]
tests/test_loader.py::TestOcrPdfLoaderAdapter::test_load_success_without_ocr PASSED [ 27%]
tests/test_loader.py::TestOcrPdfLoaderAdapter::test_load_ocr_failed PASSED [ 33%]
tests/test_loader.py::TestOcrPdfLoaderAdapter::test_binaryio_to_temp_file_conversion PASSED [ 38%]
tests/test_loader.py::TestOcrPdfLoaderAdapter::test_metadata_optional_fields PASSED [ 44%]
tests/test_loader.py::TestOcrImageLoader::test_image_loader_extensions PASSED [ 50%]
tests/test_loader.py::TestOcrImageLoader::test_image_loader_can_handle PASSED [ 55%]
tests/test_loader.py::TestOcrImageLoader::test_image_loader_priority PASSED [ 61%]
tests/test_loader.py::TestOcrImageLoader::test_image_load_success SKIPPED [ 66%]
tests/test_loader.py::TestOcrImageLoader::test_image_load_tesseract_not_installed PASSED [ 72%]
tests/test_loader.py::TestEntryPointIntegration::test_entry_point_discovery PASSED [ 77%]
tests/test_loader.py::TestEntryPointIntegration::test_loader_initialization PASSED [ 83%]
tests/test_loader.py::TestOcrImageLoaderGracefulDegradation::test_tesseract_unavailable PASSED [ 88%]
tests/test_loader.py::TestIntegration::test_load_text_based_pdf PASSED   [ 94%]
tests/test_loader.py::TestIntegration::test_adapter_returns_loaded_document PASSED [100%]

=============================== warnings summary ===============================
../stache/packages/stache-ai/src/stache_ai/config.py:9
  /mnt/devbuntu/dev/stache/packages/stache-ai/src/stache_ai/config.py:9: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.12/migration/
    class Settings(BaseSettings):

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=================== 17 passed, 1 skipped, 1 warning in 0.31s ===================
