Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmst committed Feb 5, 2025
1 parent 678ca94 commit 719656f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions bloom_nofos/nofos/test_nofo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2469,10 +2469,8 @@ def test_find_h7_headers_find_all_h7s(self):

# Check div role="heading" h7
self.assertEqual(h7_headers[1]["name"], "This shimmed h7 will be recognized")
self.assertTrue(
h7_headers[1]["html_id"].startswith(
"1--new-section-h7--new-subsection-h4--div-h7-"
)
self.assertEqual(
h7_headers[1]["html_id"], "1--new-section-h7--new-subsection-h4"
)
self.assertEqual(h7_headers[1]["section"], nofo.sections.first())
self.assertEqual(h7_headers[1]["subsection"], subsections[3])
Expand Down

0 comments on commit 719656f

Please sign in to comment.