trustgraph/tests/pytest.ini

29 lines
1.1 KiB
INI
Raw Normal View History

[pytest]
testpaths = tests
python_files = test_*.py
python_classes = Test*
python_functions = test_*
addopts =
-v
--tb=short
--strict-markers
# --disable-warnings
# --cov-fail-under=80
asyncio_mode = auto
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
integration: marks tests as integration tests
unit: marks tests as unit tests
contract: marks tests as contract tests (service interface validation)
vertexai: marks tests as vertex ai specific tests
asyncio: marks tests that use asyncio
# This is helpful if you're bored with deprecationwarnings. I prefer to
# keep the warnings for now, it avoids masking problems.
#
# filterwarnings =
# ignore:Core Pydantic V1 functionality isn't compatible with Python 3.14.*:UserWarning
# ignore:builtin type SwigPyPacked has no __module__ attribute:DeprecationWarning
# ignore:builtin type SwigPyObject has no __module__ attribute:DeprecationWarning
# ignore:builtin type swigvarlink has no __module__ attribute:DeprecationWarning
# ignore:.*_UnionGenericAlias.*is deprecated and slated for removal in Python 3.17:DeprecationWarning