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:
@@ -220,9 +220,7 @@ class TestMCPConnection:
|
||||
MockClient.return_value = mock_client
|
||||
|
||||
await conn.connect()
|
||||
result = await conn.execute_request(
|
||||
"POST", "/mcp", data={"method": "test"}
|
||||
)
|
||||
result = await conn.execute_request("POST", "/mcp", data={"method": "test"})
|
||||
|
||||
assert result == {"result": "success"}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user