Add the Thorofare and South Boundary Trail, with a track from the Park Service
68 miles through Yellowstone from the Nine Mile Trailhead to the South Entrance, published as one hike by Frommer's. The track is from the National Park Service's public Trails dataset and has one 0.3-mile gap near the Thorofare Ranger Station. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
9339f6adc7
commit
f6ed2de8fd
14 files changed
+127
-9
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 28 KiB |
@@ -114,7 +114,7 @@ class HistorySectionTest(unittest.TestCase):
|
||||
|
||||
def test_real_records_all_show_their_history(self):
|
||||
recs = records.load_records()
|
||||
self.assertEqual(len(recs), 197)
|
||||
self.assertEqual(len(recs), 198)
|
||||
for rec in recs:
|
||||
part = trail.history_section(rec)
|
||||
self.assertIn("History of this record", part, rec["id"])
|
||||
|
||||
@@ -394,7 +394,7 @@ class RealDocumentsTest(unittest.TestCase):
|
||||
counter = TableCounter()
|
||||
counter.feed(md.render(read_doc("README.md")))
|
||||
counter.close()
|
||||
self.assertEqual(counter.counts, [139, 58])
|
||||
self.assertEqual(counter.counts, [140, 58])
|
||||
|
||||
def test_readme_num_class_present(self):
|
||||
self.assertIn('class="num"', md.render(read_doc("README.md")))
|
||||
|
||||
@@ -90,7 +90,7 @@ class BuiltSiteTest(unittest.TestCase):
|
||||
def test_one_detail_page_per_record(self):
|
||||
found = [d for d in os.listdir(os.path.join(OUT, "trails"))
|
||||
if os.path.isfile(os.path.join(OUT, "trails", d, "index.html"))]
|
||||
self.assertEqual(len(self.records), 197)
|
||||
self.assertEqual(len(self.records), 198)
|
||||
self.assertEqual(sorted(found), sorted(r["id"] for r in self.records))
|
||||
self.assertTrue(os.path.isfile(os.path.join(OUT, "index.html")))
|
||||
|
||||
|
||||
@@ -13,10 +13,10 @@ class RecordsTest(unittest.TestCase):
|
||||
cls.recs = records.load_records()
|
||||
|
||||
def test_counts(self):
|
||||
self.assertEqual(len(self.recs), 197)
|
||||
self.assertEqual(len(self.recs), 198)
|
||||
self.assertEqual(sum(r["derived"]["kind"] == "route" for r in self.recs), 58)
|
||||
self.assertEqual(sum(r["derived"]["kind"] == "designated" for r in self.recs), 139)
|
||||
self.assertEqual(sum(r["derived"]["has_line"] for r in self.recs), 120)
|
||||
self.assertEqual(sum(r["derived"]["kind"] == "designated" for r in self.recs), 140)
|
||||
self.assertEqual(sum(r["derived"]["has_line"] for r in self.recs), 121)
|
||||
|
||||
def test_sorted_by_id(self):
|
||||
ids = [r["id"] for r in self.recs]
|
||||
|
||||
Reference in new issue
Block a user