|
|
[pytest] |
|
|
|
|
|
|
|
|
|
|
|
testpaths = tests |
|
|
python_files = test_*.py |
|
|
python_classes = Test* |
|
|
python_functions = test_* |
|
|
|
|
|
|
|
|
markers = |
|
|
slow: marks tests as slow (deselect with '-m "not slow"') |
|
|
gpu: marks tests that require GPU |
|
|
integration: marks integration tests |
|
|
unit: marks unit tests |
|
|
api: marks API tests |
|
|
models: marks model-related tests |
|
|
pipeline: marks pipeline tests |
|
|
performance: marks performance tests |
|
|
|
|
|
|
|
|
addopts = |
|
|
--verbose |
|
|
--strict-markers |
|
|
--tb=short |
|
|
--cov=. |
|
|
--cov-report=html |
|
|
--cov-report=term-missing |
|
|
--cov-config=.coveragerc |
|
|
|
|
|
|
|
|
log_cli = true |
|
|
log_cli_level = INFO |
|
|
log_cli_format = %(asctime)s [%(levelname)8s] %(message)s |
|
|
log_cli_date_format = %Y-%m-%d %H:%M:%S |
|
|
|
|
|
|
|
|
filterwarnings = |
|
|
ignore::DeprecationWarning |
|
|
ignore::PendingDeprecationWarning |
|
|
ignore::FutureWarning:torch.* |
|
|
|
|
|
|
|
|
timeout = 300 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
env = |
|
|
TESTING = 1 |
|
|
DEVICE = cpu |
|
|
LOG_LEVEL = WARNING |