From a17338128366821bad817a9f4444df930c97bafd Mon Sep 17 00:00:00 2001 From: ai-bot Date: Thu, 15 Oct 2026 15:58:11 +0000 Subject: [PATCH] Form tests: the help-line and retro-theme checks match the markup and the radius reset --- tests/test_health_check_form.py | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/tests/test_health_check_form.py b/tests/test_health_check_form.py index 680f008..c554be9 100644 --- a/tests/test_health_check_form.py +++ b/tests/test_health_check_form.py @@ -620,11 +620,16 @@ class HealthCheckFormTests(unittest.TestCase): # three pages that put a block right under one (section 32.2 point 1). self.assertIn(".field-help + .field-grid,", styles) self.assertIn(".field-help + .form-stack { margin-top: 12px; }", styles) - for name in ("setup.html", "health-check.html", "settings.html"): + # The block is a field grid on the setup page and a stack on the check + # form and the settings page, and all three put a help line above it. + for name, block in ( + ("setup.html", 'class="field-grid"'), + ("health-check.html", 'class="form-stack"'), + ("settings.html", 'class="form-stack"'), + ): html = read_static(name) self.assertIn('