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:
1 parent
46b27acc9c
commit
b1e3f3fb85
12 files changed
+299
-39
No files matched your search
@@ -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__":
|
||||
|
||||
Reference in new issue
Block a user