29 lines
652 B
INI
29 lines
652 B
INI
[pytest]
|
|
# Pytest configuration for omlx
|
|
|
|
# Test discovery
|
|
testpaths = tests
|
|
python_files = test_*.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
|
|
# Async support
|
|
asyncio_mode = auto
|
|
|
|
# Markers
|
|
markers =
|
|
slow: marks tests as slow (require model loading, deselect with '-m "not slow"')
|
|
integration: marks tests as integration tests (require running server)
|
|
turboquant: marks TurboQuant KV cache tests (run the suite with '-m turboquant')
|
|
|
|
# Default options
|
|
addopts =
|
|
-v
|
|
--tb=short
|
|
-m "not slow and not integration"
|
|
|
|
# Ignore warnings from dependencies
|
|
filterwarnings =
|
|
ignore::DeprecationWarning
|
|
ignore::UserWarning
|