Add Docker build & GHCR publish stage, fix CI workflows, update AGENTS.md and testing docs
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/9d256101-34b6-4861-a8cf-7f86f32b54d5 Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import pytest
|
||||
from app.core.database import Base, get_db
|
||||
|
||||
# Import all models so Base.metadata knows every table
|
||||
import app.models.domain # noqa: F401
|
||||
import app.models.report # noqa: F401
|
||||
import app.models.user # noqa: F401
|
||||
|
||||
import pytest
|
||||
from app.core.database import Base, get_db
|
||||
from app.services.report_store import ReportStore
|
||||
from fastapi import FastAPI
|
||||
from fastapi.testclient import TestClient
|
||||
@@ -18,8 +16,8 @@ def test_app() -> FastAPI:
|
||||
"""Create a fresh FastAPI application instance for testing."""
|
||||
from app.main import create_app
|
||||
|
||||
app = create_app()
|
||||
return app
|
||||
application = create_app()
|
||||
return application
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
|
||||
Reference in New Issue
Block a user