refactor: reorganize backend module boundaries

This commit is contained in:
jxxghp
2026-08-14 19:53:33 +08:00
parent fe0b444ceb
commit 369d7d6448
584 changed files with 2423 additions and 2275 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ from fastapi import HTTPException
from app import schemas
from app.api.endpoints.plugin import plugin_rating, plugin_ratings, rate_plugin
from app.integrations.server import MoviePilotServerHelper
from app.adapters.external.server import MoviePilotServerHelper
def test_server_helper_uses_plugin_rating_endpoints() -> None:
@@ -14,7 +14,7 @@ def test_server_helper_uses_plugin_rating_endpoints() -> None:
async def run_scenario() -> None:
with (
patch("app.integrations.server.settings.MP_SERVER_HOST", "https://movie-pilot.org"),
patch("app.adapters.external.server.settings.MP_SERVER_HOST", "https://movie-pilot.org"),
patch.object(
MoviePilotServerHelper,
"_async_get",