refactor(safety): apply consistent formatting across services and tests
Improved code readability and uniformity by standardizing line breaks, indentation, and inline conditions across safety-related services, models, and tests, including content filters, validation rules, and emergency controls.
This commit is contained in:
@@ -44,8 +44,8 @@ def mock_superuser():
|
||||
@pytest.fixture
|
||||
def client(mock_mcp_client, mock_superuser):
|
||||
"""Create a FastAPI test client with mocked dependencies."""
|
||||
from app.api.routes.mcp import get_mcp_client
|
||||
from app.api.dependencies.permissions import require_superuser
|
||||
from app.api.routes.mcp import get_mcp_client
|
||||
|
||||
# Override dependencies
|
||||
async def override_get_mcp_client():
|
||||
|
||||
Reference in New Issue
Block a user