Added docs as to when to use misc tests.

This commit is contained in:
Adam Fourney 2025-03-12 11:05:46 -07:00
parent 8938eb84dc
commit 85262c38a1
2 changed files with 7 additions and 0 deletions

View file

@ -3,6 +3,9 @@ import subprocess
import pytest import pytest
from markitdown import __version__ from markitdown import __version__
# This file contains CLI tests that are not directly tested by the FileTestVectors.
# This includes things like help messages, version numbers, and invalid flags.
def test_version() -> None: def test_version() -> None:
result = subprocess.run( result = subprocess.run(

View file

@ -12,6 +12,10 @@ from markitdown import (
StreamInfo, StreamInfo,
) )
# This file contains module tests that are not directly tested by the FileTestVectors.
# This includes things like helper functions and runtime conversion options
# (e.g., LLM clients, exiftool path, transcription services, etc.)
skip_remote = ( skip_remote = (
True if os.environ.get("GITHUB_ACTIONS") else False True if os.environ.get("GITHUB_ACTIONS") else False
) # Don't run these tests in CI ) # Don't run these tests in CI