mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-13 05:58:35 +03:00
refactor: restructure project layout
This commit is contained in:
@@ -4,9 +4,9 @@ import pytest
|
||||
from sqlalchemy.orm import Session
|
||||
from sqlalchemy_utils import create_database, database_exists, drop_database
|
||||
|
||||
from app.db.base import SessionLocal, engine, get_session
|
||||
from app.db.models import Base
|
||||
from app.main import app
|
||||
from app.shared.db.base import SessionLocal, engine, get_session
|
||||
from app.shared.db.models import Base
|
||||
from app.web.main import app
|
||||
|
||||
|
||||
def pytest_configure() -> None:
|
||||
|
||||
@@ -2,8 +2,8 @@ from typing import Dict
|
||||
|
||||
from fastapi.testclient import TestClient
|
||||
|
||||
from app.config import settings
|
||||
from app.main import app
|
||||
from app.shared.config import settings
|
||||
from app.web.main import app
|
||||
|
||||
client = TestClient(app)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user