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:
@@ -42,9 +42,9 @@ def test_uptime_kuma_spa_has_branding(live_app):
|
||||
|
||||
body = harness_http.assert_converges(_ready, f"GET {url}", max_wait=60, interval=3)
|
||||
lower = body.lower()
|
||||
assert (
|
||||
"uptime kuma" in lower or "kuma" in lower
|
||||
), f"Page body has no 'kuma' brand. Excerpt: {body[:200]!r}"
|
||||
assert "uptime kuma" in lower or "kuma" in lower, (
|
||||
f"Page body has no 'kuma' brand. Excerpt: {body[:200]!r}"
|
||||
)
|
||||
# SPA-bundle markers: at least one of these reference paths should be present
|
||||
bundle_markers = ("/assets/", "/icon.svg", "favicon", "main.")
|
||||
present = [m for m in bundle_markers if m in body]
|
||||
|
||||
Reference in New Issue
Block a user