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('