Files
Roman Donchenko cb55cc676f Enable pytest strict mode (#10886)
This is a new feature added in pytest 9, which includes strict xfail and
a bunch of other strictness options:

https://docs.pytest.org/en/stable/explanation/goodpractices.html#using-pytest-s-strict-mode
2026-07-10 16:38:28 +03:00

16 lines
433 B
INI

[pytest]
required_plugins = pytest-timeout pytest-cases
addopts = --verbose --capture=tee-sys
# We expect no regular individual test to run too long
# can be overridden for specific tests with a test decorator
timeout = 15
markers =
with_external_services: The test requires services extrernal to the default CVAT deployment, e.g. a Git server etc.
filterwarnings =
ignore::DeprecationWarning:cvat_sdk.core
strict = True