This commit is contained in:
Lukas Pupka-Lipinski 2025-10-06 12:59:27 +02:00
parent 87c4046711
commit 6d0c3fdf26
2 changed files with 8 additions and 6 deletions

View File

@ -6,11 +6,11 @@ following the application flow pattern: setup → auth → main application.
"""
import json
import logging
import sqlite3
from datetime import datetime
from pathlib import Path
from typing import Dict, Any, Optional, List
import logging
from typing import Any, Dict, List, Optional
logger = logging.getLogger(__name__)

View File

@ -4,15 +4,17 @@ Test application flow and setup functionality.
Tests for the application flow enforcement: setup auth main application.
"""
import pytest
import json
import os
from pathlib import Path
from fastapi.testclient import TestClient
from unittest.mock import patch, MagicMock
# Add parent directories to path for imports
import sys
from pathlib import Path
from unittest.mock import MagicMock, patch
import pytest
from fastapi.testclient import TestClient
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../..'))
from src.server.fastapi_app import app