Stop pages stating false or contradictory things, and fix two phone layout bugs

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-19 10:38:11 -07:00
1 parent 46b27acc9c
commit b1e3f3fb85
12 files changed
+299 -39

No files matched your search

+2 -1
View File
@@ -634,7 +634,8 @@ class RealDataTest(unittest.TestCase):
_, _, body, _ = regions.region_page(slug, self.records, SITE)
self.assertIn('class="browse-about"', str(body))
if len(by_slug[slug]["records"]) > 1:
self.assertIn("The longest is", str(body))
# "The longest is" where every trail is wholly in the place, else "passes through" (olt/summary.py)
self.assertTrue("The longest is" in str(body) or "The longest trail that passes through" in str(body))
if __name__ == "__main__":