lint: ruff format + one auto-fix so the push self-test is green again
continuous-integration/drone/push Build is failing
continuous-integration/drone/push Build is failing
`scripts/lint.sh --fix` from the pinned lint devshell: 90 Python files reformatted (ruff format, mechanical) and one C420 (dict comprehension → dict.fromkeys) in tests/unit/test_f211_sso_skip.py. The push self-test had been failing at the lint stage since build 1313 (2026-08-31) on exactly these files; nothing else changed. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FqkQq3CDmFWcQ7u1LzoyRz
This commit is contained in:
@@ -178,17 +178,17 @@ def test_workflow_create_and_read_back(live_app):
|
||||
workflow_id,
|
||||
str(workflow_id),
|
||||
), f"GET workflow id={fpayload.get('id')!r} != created id={workflow_id!r}"
|
||||
assert (
|
||||
fpayload.get("name") == name
|
||||
), f"workflow name didn't round-trip: created={name!r}, fetched={fpayload.get('name')!r}"
|
||||
assert fpayload.get("name") == name, (
|
||||
f"workflow name didn't round-trip: created={name!r}, fetched={fpayload.get('name')!r}"
|
||||
)
|
||||
nodes = fpayload.get("nodes") or []
|
||||
assert (
|
||||
isinstance(nodes, list) and len(nodes) == 1
|
||||
), f"workflow nodes didn't round-trip: expected 1 node, got {len(nodes)}"
|
||||
assert isinstance(nodes, list) and len(nodes) == 1, (
|
||||
f"workflow nodes didn't round-trip: expected 1 node, got {len(nodes)}"
|
||||
)
|
||||
node = nodes[0]
|
||||
assert (
|
||||
node.get("type") == "n8n-nodes-base.manualTrigger"
|
||||
), f"node type didn't round-trip: {node.get('type')!r}"
|
||||
assert (
|
||||
node.get("name") == "Manual Trigger"
|
||||
), f"node name didn't round-trip: {node.get('name')!r}"
|
||||
assert node.get("type") == "n8n-nodes-base.manualTrigger", (
|
||||
f"node type didn't round-trip: {node.get('type')!r}"
|
||||
)
|
||||
assert node.get("name") == "Manual Trigger", (
|
||||
f"node name didn't round-trip: {node.get('name')!r}"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user