Spaces:
Running on Zero
Running on Zero
File size: 880 Bytes
b701455 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | [pytest]
# Pytest configuration for LightDiffusion-Next
# Test discovery patterns
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Markers for categorizing tests
markers =
unit: Unit tests that don't require model loading
integration: Integration tests that test full pipeline flows
e2e: End-to-end tests (slow/full-stack)
api: API/integration tests
slow: Tests that take longer than a few seconds
benchmark: Benchmark-only tests (excluded from fast CI)
gpu: Tests that require GPU
# Default options
addopts =
--strict-markers
-ra
--tb=short
# Ignore deprecation warnings from dependencies
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
# Minimum pytest version
minversion = 7.0
# Test timeout (in seconds) - requires pytest-timeout
# timeout = 300
|