[pytest] # Pytest configuration for Masto-RSS # Test discovery patterns python_files = test_*.py python_classes = Test* python_functions = test_* # Output options addopts = -v --strict-markers --tb=short --cov=bot --cov=main --cov-report=term-missing --cov-report=html --cov-report=xml --cov-fail-under=80 # Test paths testpaths = . # Markers markers = unit: Unit tests that don't require external services integration: Integration tests that may use mocked external services slow: Tests that take a long time to run # Coverage options [coverage:run] source = . omit = test_*.py .venv/* */__pycache__/* */site-packages/* [coverage:report] exclude_lines = pragma: no cover def __repr__ raise AssertionError raise NotImplementedError if __name__ == .__main__.: if TYPE_CHECKING: