From aedb007d7bf8314e411d75eded8a2eaf66101a4c Mon Sep 17 00:00:00 2001 From: ai-bot Date: Fri, 2 Oct 2026 12:40:03 +0000 Subject: [PATCH] tests: assert the cloud fields are not rendered, not that the text is absent --- tests/test_health_check_form.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_health_check_form.py b/tests/test_health_check_form.py index ea36dc9..7475c98 100644 --- a/tests/test_health_check_form.py +++ b/tests/test_health_check_form.py @@ -54,9 +54,9 @@ class HealthCheckFormTests(unittest.TestCase): self.assertIn("Derived from availability", script) self.assertIn("Carried forward from the last saved check", script) self.assertIn("placeholder", script) - # The cloud key no longer asks for the cloud results in the form. - self.assertNotIn("Cloud health check", script) - self.assertNotIn("Provider operational", script) + # The cloud key no longer renders the cloud results as form fields. + self.assertNotIn('makeField("Cloud health check"', script) + self.assertNotIn('makeField("Provider operational"', script) def test_form_can_hide_the_compatibility_grid_for_the_cloud_key(self): html = (ROOT / "static" / "health-check.html").read_text(encoding="utf-8")