backup
This commit is contained in:
parent
87c4046711
commit
6d0c3fdf26
@ -6,11 +6,11 @@ following the application flow pattern: setup → auth → main application.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
import logging
|
||||||
import sqlite3
|
import sqlite3
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Dict, Any, Optional, List
|
from typing import Any, Dict, List, Optional
|
||||||
import logging
|
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|||||||
@ -4,15 +4,17 @@ Test application flow and setup functionality.
|
|||||||
Tests for the application flow enforcement: setup → auth → main application.
|
Tests for the application flow enforcement: setup → auth → main application.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import pytest
|
|
||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
from pathlib import Path
|
|
||||||
from fastapi.testclient import TestClient
|
|
||||||
from unittest.mock import patch, MagicMock
|
|
||||||
|
|
||||||
# Add parent directories to path for imports
|
# Add parent directories to path for imports
|
||||||
import sys
|
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__), '../..'))
|
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../..'))
|
||||||
|
|
||||||
from src.server.fastapi_app import app
|
from src.server.fastapi_app import app
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user