refactor: reorganize import statements and improve code formatting across multiple files
This commit is contained in:
@@ -10,8 +10,8 @@ from uuid import uuid4
|
||||
|
||||
import pytest
|
||||
|
||||
from app.api import boards
|
||||
import app.services.board_lifecycle as board_lifecycle
|
||||
from app.api import boards
|
||||
from app.models.boards import Board
|
||||
from app.services.openclaw.gateway_rpc import OpenClawGatewayError
|
||||
|
||||
|
||||
@@ -18,6 +18,6 @@ def test_heartbeat_templates_fit_in_injected_context_limit() -> None:
|
||||
)
|
||||
for name in targets:
|
||||
size = (TEMPLATES_DIR / name).stat().st_size
|
||||
assert size <= HEARTBEAT_CONTEXT_LIMIT, (
|
||||
f"{name} is {size} chars (limit {HEARTBEAT_CONTEXT_LIMIT})"
|
||||
)
|
||||
assert (
|
||||
size <= HEARTBEAT_CONTEXT_LIMIT
|
||||
), f"{name} is {size} chars (limit {HEARTBEAT_CONTEXT_LIMIT})"
|
||||
|
||||
Reference in New Issue
Block a user