mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
refactor: reorganize backend module boundaries
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user