Add the Gila Wilderness Centennial Loop and the Siskiyou Peaks Trail; leave out the Theodore Solomons Trail as waiting
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
87f307b4b3
commit
c15758a508
13 files changed
+255
-10
No files matched your search
@@ -10,7 +10,7 @@ The counts at this release:
|
||||
|
||||
<!-- BEGIN COUNTS -->
|
||||
|
||||
220 trails, 125 with a track and 95 with no track included. Of these, 75 are routes: 2 with a track and 73 without.
|
||||
222 trails, 125 with a track and 97 with no track included. Of these, 76 are routes: 2 with a track and 74 without.
|
||||
|
||||
<!-- END COUNTS -->
|
||||
|
||||
@@ -88,6 +88,7 @@ A trail may be listed with no track included, when no track for it may be shared
|
||||
| fremont | Fremont National Recreation Trail | US | OR | 216 | yes | us-gov-public-domain |
|
||||
| ganaraska | Ganaraska Hiking Trail | CA | ON | 500 | yes | ODbL-1.0 |
|
||||
| general-george-crook | General George Crook National Recreation Trail | US | AZ | 222 | yes | us-gov-public-domain |
|
||||
| gila-centennial-loop | Gila Wilderness Centennial Loop | US | NM | 161 | no | none-stated |
|
||||
| grand-sawtooth-loop | Grand Sawtooth Loop | US | ID | 113 | no | none-stated |
|
||||
| grand-valley-trail | Grand Valley Trail | CA | ON | 240 | yes | ODbL-1.0 |
|
||||
| great-divide-trail | Great Divide Trail | CA | AB, BC | 1130 | yes | ODbL-1.0 |
|
||||
@@ -255,6 +256,7 @@ A route is a trail that a hiker worked out and published. The record names the a
|
||||
| sea-to-sea-route | Sea-to-Sea Route | US | ND, MN, WI, MI, OH, PA, NY, VT, MT, ID, WA | 12513 | Ron Strickland | unclear | no | [Sea-to-Sea Route overview and route description](https://andrewskurka.com/adventures/sea-to-sea-route/overview/) (free) |
|
||||
| sierra-grand-traverse | Sierra Grand Traverse | US | CA | 322 | John and Monica Chapman | sold | no | [Sierra Grand Traverse: An Epic Route Across the Range of Light](https://www.mountaineers.org/books/books/sierra-grand-traverse-an-epic-route-across-the-range-of-light) (purchase) |
|
||||
| sierra-high-route | Sierra High Route | US | CA | 314 | Steve Roper | sold | no | [Sierra High Route, 2nd Edition: Traversing Timberline Country](https://www.mountaineers.org/books/books/sierra-high-route-2nd-edition-traversing-timberline-country) (purchase) |
|
||||
| siskiyou-peaks-trail | Siskiyou Peaks Trail | US | OR, CA | 721 | Aria Zoner | sold | no | [The Siskiyou Peaks Trail: From Ashland, OR to Mt Shasta, CA - Thru the Klamath Knot](https://www.abebooks.com/9781983447525/Siskiyou-Peaks-Trail-Ashland-Shasta-1983447528/plp) (purchase) |
|
||||
| sky-islands-traverse | Sky Islands Traverse | US | AZ | 837 | Brett Tucker ("Blisterfree") | withheld | no | [Sky Islands Traverse page](http://simblissity.net/skit.shtml) (free) |
|
||||
| south-lake-to-north-lake | South Lake to North Lake | US | CA | 89 | Elizabeth Wenk and Mike White | sold | no | [Sierra South: Backcountry Trips in California's Sierra Nevada](https://shop.adventurewithkeen.com/product/sierra-south-2/) (purchase) |
|
||||
| southeastern-serpentine-trail | Southeastern Serpentine Trail | US | SC, NC, GA, TN | 938 | Cam Honan | unclear | no | [Southeastern Serpentine Trail](https://thehikinglife.com/2016/07/southeastern-serpentine-trail/) (free) |
|
||||
|
||||
+10
-2
@@ -295,13 +295,21 @@ name = "Aria Zoner"
|
||||
credits = ["Aria Zoner"]
|
||||
url = "https://outsideways.com/routes/us/hot-springs-trail/"
|
||||
summary = "Aria Zoner is a thru-hiker and guidebook author who wrote The Hot Springs Trail Official Guidebook and The Nevada Trail Official Guidebook."
|
||||
bio = "The Hot Springs Trail is a 2,421-mile journey to 100 wild or resort hot spring areas, running from Santa Barbara, California, to Idaho's Canadian border. Zoner's 2016 journal records a total time of 110 days to complete it. The route has also been published as a template for an official Hot Springs National Scenic Trail. Besides the Hot Springs Trail guide, Zoner wrote a guidebook for the Nevada Trail."
|
||||
checked = "2026-11-17"
|
||||
bio = "The Hot Springs Trail is a 2,421-mile journey to 100 wild or resort hot spring areas, running from Santa Barbara, California, to Idaho's Canadian border. Zoner's 2016 journal records a total time of 110 days to complete it. The route has also been published as a template for an official Hot Springs National Scenic Trail. Besides the Hot Springs Trail guide, Zoner wrote a guidebook for the Nevada Trail. Zoner also worked out the 448-mile Siskiyou Peaks Trail, from Ashland, Oregon, to Mt Shasta, California, first walked in 2013, and wrote its guidebook."
|
||||
checked = "2026-11-19"
|
||||
|
||||
[[author.source]]
|
||||
url = "https://outsideways.com/routes/us/hot-springs-trail/"
|
||||
publisher = "Outsideways"
|
||||
|
||||
[[author.source]]
|
||||
url = "https://outsideways.com/routes/us/siskiyou-peaks-trail/"
|
||||
publisher = "Outsideways"
|
||||
|
||||
[[author.source]]
|
||||
url = "https://www.abebooks.com/9781983447525/Siskiyou-Peaks-Trail-Ashland-Shasta-1983447528/plp"
|
||||
publisher = "AbeBooks (listing of the guidebook)"
|
||||
|
||||
[[author]]
|
||||
name = "Brian Lucido"
|
||||
credits = ["Brian Lucido"]
|
||||
|
||||
@@ -0,0 +1,104 @@
|
||||
# Long-trail record. Field meanings: docs/schema.md in this repository.
|
||||
|
||||
id = "gila-centennial-loop"
|
||||
name = "Gila Wilderness Centennial Loop"
|
||||
country = "US"
|
||||
regions = ["NM"]
|
||||
length_km = 161
|
||||
length_note = "100 mi, as the Forest Service's Gila Wilderness page and its two loop maps (Avenza listings, 24,000 and 63,360 scale) give it."
|
||||
tier = "regional"
|
||||
designation = "Loop designated by the Forest Service in 2024 for the centennial of the Gila Wilderness, Gila National Forest"
|
||||
wave = 1
|
||||
|
||||
[source]
|
||||
status = "none"
|
||||
publisher = "USDA Forest Service, Gila National Forest (no track included)"
|
||||
publisher_url = "https://www.fs.usda.gov/r03/gila/recreation/gila-wilderness-area"
|
||||
url = "https://apps.fs.usda.gov/arcx/rest/services/EDW/EDW_TrailNFSPublish_01/MapServer/0"
|
||||
format = "No track included"
|
||||
crs = "EPSG:4326"
|
||||
licence = "none-stated"
|
||||
licence_text = "No track is included, so no source licence applies to a track. The Forest Service's National Forest System trails layer is a United States federal government work, public domain in the United States under 17 U.S.C. 105, but it holds the numbered trails and no feature for the loop (a name search of the layer on 2026-11-19 found none)."
|
||||
attribution = "none (no track included)"
|
||||
osm_only = false
|
||||
mainline = "No track was built. The Forest Service publishes the loop as a map and names no list of its trails on a page that could be opened, so the trails to join could not be chosen."
|
||||
source_checked = "2026-11-19"
|
||||
redistributable = true
|
||||
line_source = "none (no line included)"
|
||||
line_file = ""
|
||||
line_absent_reason = "The Forest Service publishes the loop as a free map over numbered trails. Its trail data holds those trails but no feature for the loop, and no page that could be opened lists which trails the loop uses, so a track would be a guess. No track is included."
|
||||
|
||||
[osm]
|
||||
relation = 0
|
||||
note = "No OpenStreetMap route relation for the loop was found on 2026-11-19 (a name search returned nothing)."
|
||||
|
||||
[shield]
|
||||
status = "logo-not-found"
|
||||
logo_source = ""
|
||||
contact = "USDA Forest Service, Gila National Forest"
|
||||
note = "The Forest Service's Gila Wilderness page, its Middle Fork trailhead page and the two map listings were read as text on 2026-11-19. They name the loop and show no emblem for it; no artwork was found at an allowed source."
|
||||
logo_file = ""
|
||||
logo_owner = ""
|
||||
|
||||
[verification]
|
||||
verified = false
|
||||
note = "No track to measure."
|
||||
|
||||
[hike]
|
||||
summary = "The Gila Wilderness Centennial Loop is a 100-mile loop through the Gila Wilderness of southwestern New Mexico. The Forest Service designated it in 2024 for the wilderness's 100th anniversary, and publishes it as a free map. The Forest Service describes the wilderness's river corridor as deeply incised, with vertical cliffs and cathedral spires."
|
||||
official_url = "https://www.fs.usda.gov/r03/gila/recreation/gila-wilderness-area"
|
||||
start = "Middle Fork Trailhead, Gila Cliff Dwellings Visitor Center, New Mexico"
|
||||
start_lonlat = [-108.241, 33.226]
|
||||
shape = "loop"
|
||||
terrain = ["canyon"]
|
||||
travel = "trail"
|
||||
permit = "Individual hikers need no pass or permit; organised groups need a permit from the Forest Service."
|
||||
caution = "The Forest Service says the stretch of West Fork Trail 151 along Cooper Canyon to Turkeyfeather Pass is not passable, so check the loop map there. A local trail group reported in November 2024 that the Forest Service crew had cleared the last impassable part of the loop, and that walkers found rough tread in places, such as Trail 159 above Turkey Creek and Trail 101 near private land at Double Spring. The Forest Service says West Fork Trail 151 has many river crossings per mile, and that water in the Gila can be unreliable and must be treated."
|
||||
checked = "2026-11-19"
|
||||
|
||||
[[hike.source]]
|
||||
url = "https://www.fs.usda.gov/r03/gila/recreation/gila-wilderness-area"
|
||||
publisher = "USDA Forest Service, Gila National Forest"
|
||||
facts = ["official_url", "summary", "permit", "terrain", "travel"]
|
||||
|
||||
[[hike.source]]
|
||||
url = "https://store.avenza.com/collections/us-forest-service-r3.atom"
|
||||
publisher = "USDA Forest Service, Southwestern Region (its map listings in the Avenza store feed)"
|
||||
facts = ["summary", "shape", "caution"]
|
||||
|
||||
[[hike.source]]
|
||||
url = "https://www.fs.usda.gov/r03/gila/recreation/middle-fork-157-trailhead"
|
||||
publisher = "USDA Forest Service, Gila National Forest (Middle Fork Trailhead page, which gives its latitude and longitude)"
|
||||
facts = ["start", "start_lonlat"]
|
||||
|
||||
[[hike.source]]
|
||||
url = "https://www.fs.usda.gov/r03/gila/recreation/trails/west-fork-trail-151"
|
||||
publisher = "USDA Forest Service, Gila National Forest"
|
||||
facts = ["caution", "terrain", "travel"]
|
||||
|
||||
[[hike.source]]
|
||||
url = "https://myemail.constantcontact.com/Gila-Trails-News.html?soid=1140320514802&aid=afNx6JmU3qM"
|
||||
publisher = "Gila Trails News (Gila Back Country Horsemen and Gila Trails Info), November 2024 update"
|
||||
facts = ["caution"]
|
||||
|
||||
[[guide]]
|
||||
title = "Gila Wilderness Centennial Loop Trail Map - 24K"
|
||||
author = "USDA Forest Service, Gila National Forest"
|
||||
access = "free"
|
||||
url = "https://store.avenza.com/products/gila-wilderness-centennial-loop-trail-map-24k-us-forest-service-r3-map"
|
||||
format = "digital map (PDF for the Avenza Maps app), 1:24,000"
|
||||
price = "0.00"
|
||||
price_checked = "2026-11-19"
|
||||
publisher = "US Forest Service R3"
|
||||
|
||||
# History of this record, oldest first. Add to it; never rewrite it.
|
||||
# See docs/schema.md, section [[history]].
|
||||
|
||||
[[history]]
|
||||
date = "2026-11-19"
|
||||
change = "The record was added: the Gila Wilderness Centennial Loop, 100 miles (161 km), designated by the Forest Service in 2024, with no track."
|
||||
fields = ["record"]
|
||||
basis = "The Forest Service's Gila Wilderness page says the 100-mile Centennial Loop was designated in 2024, and its two loop maps give the length as 100 miles. The loop has its own name and its own published length. No track is included because no page that could be opened lists the trails the loop uses."
|
||||
basis_url = "https://www.fs.usda.gov/r03/gila/recreation/gila-wilderness-area"
|
||||
asked_by = "the dataset's own check"
|
||||
outcome = "applied"
|
||||
@@ -639,6 +639,19 @@ decided = "2026-11-18"
|
||||
was_listed = false
|
||||
waiting_for = "The closed stretch south of the Lost Lake Trail junction reopens."
|
||||
|
||||
[[trail]]
|
||||
id = "theodore-solomons-trail"
|
||||
name = "Theodore Solomons Trail"
|
||||
country = "US"
|
||||
regions = ["CA"]
|
||||
length_note = "No length is stated on a page that could be read; a bookseller's listing of a 1983 guidebook gives 290 miles"
|
||||
reason = "waiting"
|
||||
note = "The route's own guidebook, by Dennis R. Gagnon, can only be borrowed from a library, and its catalogue record gives no length. A bookseller's listing of Gary Buscombe's 1983 guidebook to the route says 290 miles, and a hiker's page says about 250 miles; neither is the route's author."
|
||||
source_url = "https://archive.org/details/guidetotheodores0000gagn"
|
||||
decided = "2026-11-19"
|
||||
was_listed = false
|
||||
waiting_for = "A page by the route's author or the guidebook's publisher states its length."
|
||||
|
||||
[[trail]]
|
||||
id = "great-trail"
|
||||
name = "Trans Canada Trail"
|
||||
|
||||
@@ -0,0 +1,116 @@
|
||||
# Long-trail record. Field meanings: docs/schema.md in this repository.
|
||||
|
||||
id = "siskiyou-peaks-trail"
|
||||
name = "Siskiyou Peaks Trail"
|
||||
short_name = "SPT"
|
||||
short_name_url = "https://outsideways.com/routes/us/siskiyou-peaks-trail/"
|
||||
country = "US"
|
||||
regions = ["OR", "CA"]
|
||||
length_km = 721
|
||||
length_note = "448 mi, per the author's route page and the guidebook's listing"
|
||||
kind = "route"
|
||||
tier = "regional"
|
||||
designation = "Person-defined route (Aria Zoner, 2013); no agency or association"
|
||||
wave = 1
|
||||
|
||||
[source]
|
||||
status = "none"
|
||||
publisher = "Aria Zoner (publishes the route)"
|
||||
publisher_url = "https://outsideways.com/routes/us/siskiyou-peaks-trail/"
|
||||
url = "https://www.abebooks.com/9781983447525/Siskiyou-Peaks-Trail-Ashland-Shasta-1983447528/plp"
|
||||
format = "No line included"
|
||||
crs = "EPSG:4326"
|
||||
licence = "none-stated"
|
||||
licence_text = "No track is included, so no source licence applies to a track. This record names the creator and the pages its facts were read on (https://outsideways.com/routes/us/siskiyou-peaks-trail/ and https://www.abebooks.com/9781983447525/Siskiyou-Peaks-Trail-Ashland-Shasta-1983447528/plp, read 2026-11-19)."
|
||||
attribution = "none (no line included)"
|
||||
osm_only = false
|
||||
mainline = "No track is included; the maps are in the guidebook."
|
||||
source_checked = "2026-11-19"
|
||||
redistributable = true
|
||||
line_source = "none (no line included)"
|
||||
line_file = ""
|
||||
line_absent_reason = "The route is sold as a guidebook with its maps, and no track is published. Get the maps from The Siskiyou Peaks Trail guidebook."
|
||||
|
||||
[osm]
|
||||
relation = 0
|
||||
note = "Not recorded: the route's creator does not publish a track. A name search on 2026-11-19 found no route relation."
|
||||
|
||||
[shield]
|
||||
status = "logo-not-found"
|
||||
logo_source = ""
|
||||
contact = "Aria Zoner"
|
||||
note = "No usable artwork is at an allowed live source. The author's own sites for the route, siskiyoupeakstrail.org (named in the guidebook's listing) and wholefoodhiker.com (named on a 2018 podcast page), no longer resolve. The live route page on Outsideways was read as text and shows no emblem. Whether the guidebook uses a route badge could not be confirmed from an allowed source."
|
||||
logo_file = ""
|
||||
logo_owner = ""
|
||||
|
||||
[verification]
|
||||
verified = false
|
||||
note = "No line to measure."
|
||||
|
||||
[route]
|
||||
creator = "Aria Zoner"
|
||||
year = 2013
|
||||
line_policy = "sold"
|
||||
note = "From Ashland, Oregon, to Mt Shasta, California, reaching the highest point in each of seven wilderness areas. The author first walked it in 2013 in 26 days, and the guidebook was published in 2017."
|
||||
|
||||
[[guide]]
|
||||
title = "The Siskiyou Peaks Trail: From Ashland, OR to Mt Shasta, CA - Thru the Klamath Knot"
|
||||
author = "Aria Zoner"
|
||||
access = "purchase"
|
||||
url = "https://www.abebooks.com/9781983447525/Siskiyou-Peaks-Trail-Ashland-Shasta-1983447528/plp"
|
||||
format = "book"
|
||||
publisher = "CreateSpace Independent Publishing Platform"
|
||||
isbn = "9781983447525"
|
||||
|
||||
[hike]
|
||||
summary = "The Siskiyou Peaks Trail is a 448-mile route from Ashland, Oregon, to Mt Shasta, California, that reaches the highest point in each of seven wilderness areas. It follows a mix of backcountry roads and trails, passes more than 40 glacial cirque lakes, and its last summit is Mt Shasta, which has no trail to its top. Aria Zoner worked it out and first walked it in 2013."
|
||||
official_url = "https://outsideways.com/routes/us/siskiyou-peaks-trail/"
|
||||
start = "Ashland, Oregon"
|
||||
start_lonlat = [-122.715, 42.197]
|
||||
end = "Mt Shasta, California"
|
||||
end_lonlat = [-122.313, 41.314]
|
||||
shape = "point-to-point"
|
||||
high_point = "Mount Shasta"
|
||||
high_point_m = 4322
|
||||
terrain = ["alpine", "lakes"]
|
||||
travel = "some-cross-country"
|
||||
permit = "The Forest Service requires a free wilderness permit to enter the Mount Shasta Wilderness, and a Summit Pass above 10,000 feet on the mountain."
|
||||
caution = "The route's last summit is Mt Shasta, a glaciated volcano that the Forest Service says has no trail to its top. Booksellers' copies of the guidebook's description disagree (read 2026-11-19): one says no advanced mountaineering equipment or specialty training is required in summer, though basic rock scrambling and navigation skills are, and another says advanced mountaineering equipment and specialty training may be required."
|
||||
checked = "2026-11-19"
|
||||
|
||||
[[hike.source]]
|
||||
url = "https://outsideways.com/routes/us/siskiyou-peaks-trail/"
|
||||
publisher = "Aria Zoner (route page on Outsideways)"
|
||||
facts = ["official_url", "summary", "start", "end", "shape", "terrain", "travel"]
|
||||
|
||||
[[hike.source]]
|
||||
url = "https://www.abebooks.com/9781983447525/Siskiyou-Peaks-Trail-Ashland-Shasta-1983447528/plp"
|
||||
publisher = "AbeBooks (listing of the guidebook, with the publisher's synopsis)"
|
||||
facts = ["start", "end", "summary", "caution"]
|
||||
|
||||
[[hike.source]]
|
||||
url = "https://www.booktopia.com.au/the-siskiyou-peaks-trail-aria-zoner/book/9781983447525.html"
|
||||
publisher = "Booktopia (listing of the guidebook, with its synopsis)"
|
||||
facts = ["caution"]
|
||||
|
||||
[[hike.source]]
|
||||
url = "https://www.fs.usda.gov/r05/shasta-trinity/recreation/mt-shasta-wilderness"
|
||||
publisher = "USDA Forest Service, Shasta-Trinity National Forest"
|
||||
facts = ["high_point", "permit", "caution", "summary", "travel"]
|
||||
|
||||
[[hike.source]]
|
||||
url = "https://nominatim.openstreetmap.org/lookup?osm_ids=R186688,R12859263&format=json"
|
||||
publisher = "OpenStreetMap contributors, via Nominatim (ODbL): the town boundaries of Ashland (relation 186688) and Mount Shasta (relation 12859263), at their centres"
|
||||
facts = ["start_lonlat", "end_lonlat"]
|
||||
|
||||
# History of this record, oldest first. Add to it; never rewrite it.
|
||||
# See docs/schema.md, section [[history]].
|
||||
|
||||
[[history]]
|
||||
date = "2026-11-19"
|
||||
change = "The record was added: the Siskiyou Peaks Trail, 448 miles (721 km) from Ashland, Oregon, to Mt Shasta, California, with no track."
|
||||
fields = ["record"]
|
||||
basis = "The author's route page gives the length as 448 miles and Mt Shasta as the final summit, and the guidebook's listing credits the route to Aria Zoner. The guide's description of the equipment needed is worded two ways by booksellers, and the author's own pages do not state it; the record says so in its caution. The end is placed at the town of Mt Shasta, as the guidebook's title writes it; the pages read do not say whether the route finishes at the summit or in the town."
|
||||
basis_url = "https://outsideways.com/routes/us/siskiyou-peaks-trail/"
|
||||
asked_by = "the dataset's own check"
|
||||
outcome = "applied"
|
||||
@@ -68,6 +68,7 @@ fremont,Fremont National Recreation Trail,US,OR,216,included,USDA Forest Service
|
||||
ganaraska,Ganaraska Hiking Trail,CA,ON,500,included,OpenStreetMap,ODbL-1.0,designated,
|
||||
general-george-crook,General George Crook National Recreation Trail,US,AZ,222,included,USDA Forest Service (EDW National Forest System trails),us-gov-public-domain,designated,
|
||||
georgia-loop,Georgia Loop,US,GA,89,record-only,none (no track included),none-stated,route,unclear
|
||||
gila-centennial-loop,Gila Wilderness Centennial Loop,US,NM,161,record-only,none (no line included),none-stated,designated,
|
||||
gospel-hump-loop,Gospel Hump Loop,US,ID,109,record-only,none (no line included),none-stated,route,sold
|
||||
grand-enchantment,Grand Enchantment Trail,US,AZ;NM,1239,record-only,none (no line included),none-stated,route,sold
|
||||
grand-moab-route,Grand-Moab Route,US,CO;UT,225,record-only,none (no line included),none-stated,route,withheld
|
||||
@@ -175,6 +176,7 @@ shenipsit-trail,Shenipsit Trail,US,CT,80,included,OpenStreetMap,ODbL-1.0,designa
|
||||
sierra-grand-traverse,Sierra Grand Traverse,US,CA,322,record-only,none (no line included),none-stated,route,sold
|
||||
sierra-high-route,Sierra High Route,US,CA,314,record-only,none (no line included),none-stated,route,sold
|
||||
silver-moccasin-trail,Silver Moccasin Trail,US,CA,82,included,OpenStreetMap,ODbL-1.0,designated,
|
||||
siskiyou-peaks-trail,Siskiyou Peaks Trail,US,OR;CA,721,record-only,none (no line included),none-stated,route,sold
|
||||
sky-islands-traverse,Sky Islands Traverse,US,AZ,837,record-only,none (no line included),none-stated,route,withheld
|
||||
solitude-loop,Solitude Loop Trail,US,WY,89,included,USDA Forest Service (National Forest System Trails),us-gov-public-domain,designated,
|
||||
south-boundary,South Boundary Trail,CA,AB,121,record-only,none (no line included),none-stated,designated,
|
||||
|
||||
|
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
@@ -60,7 +60,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), 75)
|
||||
self.assertEqual(len(routes), 76)
|
||||
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
|
||||
|
||||
@@ -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), 220)
|
||||
self.assertEqual(len(recs), 222)
|
||||
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, [145, 75])
|
||||
self.assertEqual(counter.counts, [146, 76])
|
||||
|
||||
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), 220)
|
||||
self.assertEqual(len(self.records), 222)
|
||||
self.assertEqual(sorted(found), sorted(r["id"] for r in self.records))
|
||||
self.assertTrue(os.path.isfile(os.path.join(OUT, "index.html")))
|
||||
|
||||
|
||||
@@ -13,9 +13,9 @@ class RecordsTest(unittest.TestCase):
|
||||
cls.recs = records.load_records()
|
||||
|
||||
def test_counts(self):
|
||||
self.assertEqual(len(self.recs), 220)
|
||||
self.assertEqual(sum(r["derived"]["kind"] == "route" for r in self.recs), 75)
|
||||
self.assertEqual(sum(r["derived"]["kind"] == "designated" for r in self.recs), 145)
|
||||
self.assertEqual(len(self.recs), 222)
|
||||
self.assertEqual(sum(r["derived"]["kind"] == "route" for r in self.recs), 76)
|
||||
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), 125)
|
||||
|
||||
def test_sorted_by_id(self):
|
||||
|
||||
Reference in new issue
Block a user