LightDiffusion-Next / pytest.ini
Aatricks's picture
Deploy ZeroGPU Gradio Space snapshot
b701455
[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