workspace-v1/projects/trading-platform/apps/llm-agent/tests/conftest.py
Adrian Flores Cortes 967ab360bb Initial commit: Workspace v1 with 3-layer architecture
Structure:
- control-plane/: Registries, SIMCO directives, CI/CD templates
- projects/: Gamilit, ERP-Suite, Trading-Platform, Betting-Analytics
- shared/: Libs catalog, knowledge-base

Key features:
- Centralized port, domain, database, and service registries
- 23 SIMCO directives + 6 fundamental principles
- NEXUS agent profiles with delegation rules
- Validation scripts for workspace integrity
- Dockerfiles for all services
- Path aliases for quick reference

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-23 00:35:19 -06:00

27 lines
662 B
Python

"""
Pytest configuration and fixtures for LLM Agent Service tests
"""
import pytest
from typing import AsyncGenerator
# Example fixtures - expand as needed
@pytest.fixture
def mock_settings():
"""Mock settings for testing"""
from src.config import Settings
return Settings(
anthropic_api_key="test-api-key",
database_url="postgresql://test:test@localhost/test",
redis_url="redis://localhost:6379/1",
)
@pytest.fixture
async def async_client():
"""Async HTTP client fixture for API testing"""
from httpx import AsyncClient
async with AsyncClient() as client:
yield client