[pytest]
# OpenTranscode v3 — pytest configuration.
#
# Test suite for QA item v3-10. Run from this directory (the parent of
# `tests/`) with:
#
#     python -m pytest tests/ -v
#
# All tests are mock-based — no real av1an / ffmpeg install required.

testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*

# Show short test summary on failure, and don't truncate diff output.
addopts = -ra --tb=short

# Filter out noise from PySide6 stub installation (if a stub attribute is
# accessed that doesn't exist on the real Qt class, MagicMock swallows it
# silently — that's intentional, not a warning we need to see).
filterwarnings =
    ignore::DeprecationWarning
