- Bump minimum Python version from 3.11 to 3.13 across all apps - Add Python 3.11-3.13 test matrix to CLI workflow - Document Python 3.11+ requirement in .env.example - Fix Starlette Broadcast removal with in-process fallback implementation - Add _InProcessBroadcast class for tests when Starlette Broadcast is unavailable - Refactor API key validators to read live settings instead of cached values - Update database models with explicit
46 lines
1.1 KiB
INI
46 lines
1.1 KiB
INI
[pytest]
|
|
# pytest configuration for AITBC
|
|
|
|
# Test discovery
|
|
python_files = test_*.py *_test.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
|
|
# Custom markers
|
|
markers =
|
|
unit: Unit tests (fast, isolated)
|
|
integration: Integration tests (may require external services)
|
|
slow: Slow running tests
|
|
|
|
# Test paths to run
|
|
testpaths = tests/cli apps/coordinator-api/tests/test_billing.py
|
|
|
|
# Additional options for local testing
|
|
addopts =
|
|
--verbose
|
|
--tb=short
|
|
|
|
# Python path for imports
|
|
pythonpath =
|
|
.
|
|
packages/py/aitbc-crypto/src
|
|
packages/py/aitbc-sdk/src
|
|
apps/coordinator-api/src
|
|
apps/wallet-daemon/src
|
|
apps/blockchain-node/src
|
|
apps/trade-exchange/src
|
|
|
|
# Environment variables for tests
|
|
env =
|
|
AUDIT_LOG_DIR=/tmp/aitbc-audit
|
|
DATABASE_URL=sqlite:///./test_coordinator.db
|
|
|
|
# Warnings
|
|
filterwarnings =
|
|
ignore::UserWarning
|
|
ignore::DeprecationWarning
|
|
ignore::PendingDeprecationWarning
|
|
ignore::pytest.PytestUnknownMarkWarning
|
|
ignore::pydantic.PydanticDeprecatedSince20
|
|
ignore::sqlalchemy.exc.SADeprecationWarning
|