- Configure workspace Git repository with comprehensive .gitignore - Add Odoo as submodule for ERP reference code - Include documentation: SETUP.md, GIT-STRUCTURE.md - Add gitignore templates for projects (backend, frontend, database) - Structure supports independent repos per project/subproject level Workspace includes: - core/ - Reusable patterns, modules, orchestration system - projects/ - Active projects (erp-suite, gamilit, trading-platform, etc.) - knowledge-base/ - Reference code and patterns (includes Odoo submodule) - devtools/ - Development tools and templates - customers/ - Client implementations template 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
27 lines
662 B
Python
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
|