[pytest] # Pytest configuration for Wan2.1 # Test discovery patterns python_files = test_*.py python_classes = Test* python_functions = test_* # Default test paths testpaths = tests # Output options addopts = -v --strict-markers --tb=short --disable-warnings -ra # Markers for categorizing tests markers = slow: marks tests as slow (deselect with '-m "not slow"') cuda: marks tests that require CUDA (deselect with '-m "not cuda"') integration: marks integration tests (deselect with '-m "not integration"') unit: marks unit tests requires_model: marks tests that require model checkpoints requires_flash_attn: marks tests that require flash attention # Coverage options (if using pytest-cov) # [coverage:run] # source = wan # omit = tests/* # Timeout for tests (if using pytest-timeout) # timeout = 300 # Logging log_cli = false log_cli_level = INFO log_cli_format = %(asctime)s [%(levelname)8s] %(message)s log_cli_date_format = %Y-%m-%d %H:%M:%S # Ignore warnings from dependencies filterwarnings = ignore::DeprecationWarning ignore::PendingDeprecationWarning ignore::FutureWarning