Files
ComfyUI-Lora-Manager/pytest.ini

17 lines
675 B
INI

[pytest]
addopts = -v --import-mode=importlib -m "not performance" --ignore=__init__.py
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Asyncio configuration
asyncio_mode = auto
asyncio_default_fixture_loop_scope = function
# Register markers
markers =
asyncio: execute test within asyncio event loop
no_settings_dir_isolation: allow tests to use real settings paths
integration: integration tests requiring external resources
performance: performance benchmarks (slow, skip by default)
# Skip problematic directories to avoid import conflicts
norecursedirs = .git .tox dist build *.egg __pycache__ py .hypothesis