Update the page test for the season wording
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1c60e0c14c
commit
cb6cdadd41
1 file changed
+1
-1
@@ -130,7 +130,7 @@ class TrailPageTest(unittest.TestCase):
|
||||
rec = sample_record("X Trail")
|
||||
rec["hike"] = dict(FULL_HIKE, season_basis="primary")
|
||||
block = trail.hike_sources_block(rec)
|
||||
self.assertIn("The season comes from the page of the body that manages the trail or, for a route, its author.",
|
||||
self.assertIn("The season comes from the page of the body that manages the trail or the trail's own association or, for a route, its author.",
|
||||
html.unescape(block))
|
||||
self.assertEqual(facets.season_basis(rec), "primary")
|
||||
rec["hike"] = {k: v for k, v in FULL_HIKE.items() if k not in ("season", "months")}
|
||||
|
||||
Reference in new issue
Block a user