style(backend/copilot): reformat prompt_cache_test.py per black

This commit is contained in:
majdyz
2026-04-15 20:02:24 +07:00
parent 951c89699b
commit e1d60ab2c6

View File

@@ -19,9 +19,7 @@ class TestBuildSystemPrompt:
@pytest.mark.asyncio
async def test_no_user_id_returns_static_prompt(self):
"""When user_id is None, no DB lookup happens and the static prompt is returned."""
with (
patch(f"{_SVC}._is_langfuse_configured", return_value=False),
):
with (patch(f"{_SVC}._is_langfuse_configured", return_value=False),):
from backend.copilot.service import (
_CACHEABLE_SYSTEM_PROMPT,
_build_system_prompt,