- Created test files for GPU service (tests/test_main.py) - Created test files for Marketplace service (tests/test_main.py) - Created test files for Trading service (tests/test_main.py) - Created test files for Governance service (tests/test_main.py) - Created integration tests for API gateway (tests/test_gateway.py) - Added pytest dependencies to all service pyproject.toml files - Created TEST_COVERAGE_REQUIREMENTS.md documenting coverage targets and best practices This completes Phase 8: Create pytest test files for microservices
35 lines
686 B
TOML
35 lines
686 B
TOML
[project]
|
|
name = "trading-service"
|
|
version = "0.1.0"
|
|
description = "AITBC Trading Service for trading operations"
|
|
authors = [
|
|
{name = "AITBC Team", email = "team@aitbc.dev"}
|
|
]
|
|
requires-python = ">=3.13"
|
|
dependencies = [
|
|
"fastapi>=0.104.0",
|
|
"uvicorn>=0.24.0",
|
|
"sqlmodel>=0.0.14",
|
|
"asyncpg>=0.30.0",
|
|
"aitbc-core",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = [
|
|
"pytest>=7.4.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"httpx>=0.25.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
[tool.poetry]
|
|
packages = [
|
|
{ include = "trading_service", from = "src" }
|
|
]
|
|
|
|
[tool.poetry.extras]
|
|
test = ["pytest", "pytest-asyncio", "httpx"]
|