Fix the section-order test to include the page eyebrow
This commit is contained in:
1 parent
88c2e6df88
commit
c8c02a3144
1 file changed
+3
-1
@@ -34,10 +34,12 @@ class HealthCheckFormTests(unittest.TestCase):
|
|||||||
html = read_static("health-check.html")
|
html = read_static("health-check.html")
|
||||||
eyebrows = re.findall(r'<p class="eyebrow">([^<]+)</p>', html)
|
eyebrows = re.findall(r'<p class="eyebrow">([^<]+)</p>', html)
|
||||||
|
|
||||||
# The form is renumbered, and 04 / Standards is gone (section 24.3).
|
# The page heading comes first, and the form is renumbered with
|
||||||
|
# 04 / Standards gone (section 24.3).
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
eyebrows,
|
eyebrows,
|
||||||
[
|
[
|
||||||
|
"Annual security check",
|
||||||
"01 / Schedule",
|
"01 / Schedule",
|
||||||
"02 / Key",
|
"02 / Key",
|
||||||
"03 / Compatibility",
|
"03 / Compatibility",
|
||||||
|
|||||||
Reference in new issue
Block a user