Files
aitbc/pytest.ini
oib 421191ccaf feat: add transaction hash search to blockchain explorer and cleanup settlement storage
Blockchain Explorer:
- Add transaction hash search support (64-char hex pattern validation)
- Fetch and display transaction details in modal (hash, type, from/to, amount, fee, block)
- Fix regex escape sequence in block height validation
- Update search placeholder text to mention both search types
- Add blank lines between function definitions for PEP 8 compliance

Settlement Storage:
- Add timedelta import for future
2026-02-17 14:34:12 +01:00

47 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 (must match pyproject.toml)
pythonpath =
.
packages/py/aitbc-core/src
packages/py/aitbc-crypto/src
packages/py/aitbc-p2p/src
packages/py/aitbc-sdk/src
apps/coordinator-api/src
apps/wallet-daemon/src
apps/blockchain-node/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