Add the Three Sisters Loop from Eli Boschetto's Backpacking Oregon
A 46 mile loop in the Three Sisters Wilderness, Oregon, from the Devils Lake Trailhead, listed under the 50 mile floor because it is very well known and popular. No track is included; the facts are the book's page 138 as the owner read it, and the permit is from the Forest Service. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
013ddbefc3
commit
ba3e7dfd33
15 files changed
+137
-9
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
@@ -59,7 +59,7 @@ class ExtraPagesTest(unittest.TestCase):
|
||||
|
||||
def test_all_routes_on_routes_page(self):
|
||||
routes = [r for r in self.records if r["derived"]["kind"] == "route"]
|
||||
self.assertEqual(len(routes), 77)
|
||||
self.assertEqual(len(routes), 78)
|
||||
page = read_out("routes/index.html")
|
||||
import html as _html
|
||||
text = _html.unescape(re.sub(r"<[^>]+>", "", page)) # a credit naming two authors links each name
|
||||
|
||||
@@ -380,7 +380,7 @@ class BuiltVocabularyTest(unittest.TestCase):
|
||||
def test_an_estimated_season_reads_about_on_its_page_and_a_stated_one_does_not(self):
|
||||
est = [r for r in records.load_records(ROOT) if facets.season_estimated(r)]
|
||||
stated = [r for r in records.load_records(ROOT) if not facets.season_estimated(r)]
|
||||
self.assertEqual(len(est) + len(stated), 223)
|
||||
self.assertEqual(len(est) + len(stated), 224)
|
||||
for rec in est[:10]:
|
||||
doc = self.read(f"trails/{rec['id']}/index.html")
|
||||
self.assertIn(facets.season_text(rec), html.unescape(doc), rec["id"])
|
||||
|
||||
@@ -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), 223)
|
||||
self.assertEqual(len(recs), 224)
|
||||
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, [146, 77])
|
||||
self.assertEqual(counter.counts, [146, 78])
|
||||
|
||||
def test_readme_num_class_present(self):
|
||||
self.assertIn('class="num"', md.render(read_doc("README.md")))
|
||||
|
||||
@@ -92,7 +92,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), 223)
|
||||
self.assertEqual(len(self.records), 224)
|
||||
self.assertEqual(sorted(found), sorted(r["id"] for r in self.records))
|
||||
self.assertTrue(os.path.isfile(os.path.join(OUT, "index.html")))
|
||||
|
||||
|
||||
@@ -13,8 +13,8 @@ class RecordsTest(unittest.TestCase):
|
||||
cls.recs = records.load_records()
|
||||
|
||||
def test_counts(self):
|
||||
self.assertEqual(len(self.recs), 223)
|
||||
self.assertEqual(sum(r["derived"]["kind"] == "route" for r in self.recs), 77)
|
||||
self.assertEqual(len(self.recs), 224)
|
||||
self.assertEqual(sum(r["derived"]["kind"] == "route" for r in self.recs), 78)
|
||||
self.assertEqual(sum(r["derived"]["kind"] == "designated" for r in self.recs), 146)
|
||||
self.assertEqual(sum(r["derived"]["has_line"] for r in self.recs), 124)
|
||||
|
||||
|
||||
Reference in new issue
Block a user