Fix the trail brief test for a season in the same sentence

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Sonnet 5.5 committed 2026-11-20 10:56:00 -07:00
1 parent a41fcad59e
commit 28b0d83d43
1 file changed
+1 -1
+1 -1
View File
@@ -195,7 +195,7 @@ class InBrief(unittest.TestCase):
def test_trail_without_a_track_and_french_name(self):
free = self.sentences(load("circle-of-solitude"))
self.assertTrue(any("this site has no GPX for it" in x.lower() for x in free))
self.assertTrue(any("this site has no GPX for it" in x for x in free))
fr = load("traversee-charlevoix")
self.assertTrue(self.sentences(fr)[0].startswith("Traversée de Charlevoix is a "))
self.assertIn('<span lang="fr">', str(trail.brief_sentences(fr)[0]))