fixing DQ issues

This commit is contained in:
2025-09-19 16:54:13 +02:00
parent 0ce708cf09
commit f042616fdd
45 changed files with 3625 additions and 68 deletions

60
init_files.py Normal file
View File

@@ -0,0 +1,60 @@
# tests/fixtures/__init__.py
"""Test fixtures for the FastAPI application test suite."""
# tests/unit/__init__.py
"""Unit tests - fast, isolated component tests."""
# tests/unit/models/__init__.py
"""Database and API model unit tests."""
# tests/unit/utils/__init__.py
"""Utility function unit tests."""
# tests/unit/services/__init__.py
"""Service layer unit tests."""
# tests/integration/__init__.py
"""Integration tests - multiple components working together."""
# tests/integration/api/__init__.py
"""API integration tests."""
# tests/integration/api/v1/__init__.py
"""API v1 endpoint integration tests."""
# tests/integration/security/__init__.py
"""Security integration tests."""
# tests/performance/__init__.py
"""Performance and load tests."""
# tests/system/__init__.py
"""System-level tests - full application behavior."""
# tests/integration/conftest.py
"""Integration test specific fixtures."""
import pytest
# Add any integration-specific fixtures here if needed
# tests/unit/conftest.py
"""Unit test specific fixtures."""
import pytest
# Add any unit-specific fixtures here if needed
# tests/performance/conftest.py
"""Performance test specific fixtures."""
import pytest
@pytest.fixture
def performance_db_session(db):
"""Database session optimized for performance testing"""
# You can add performance-specific DB configurations here
return db
# tests/system/conftest.py
"""System test specific fixtures."""
import pytest
# Add any system-specific fixtures here if needed