Skip to content

Provider Availability Cassettes ​

The backend test suite replays known-open searches against the real provider adapters and camply's equipment matching. The recorded nights can pass in the calendar and still replay. Review scenarios every 30 days and when a provider changes its booking flow or API response.

Find a replacement stay ​

  1. Open the booking link for the scenario below. Select overnight camping, the campground or loop, and the same equipment category and vehicle length if supported. Use the site list or availability calendar to find an open stay and note the site's published equipment limits. Try a weekday in the booking window or another campground in the same provider if the current campground is closed or sold out.
  2. Confirm the expected site and nights on the booking site. For an equipment contrast, also identify an available site for the same nights that should be filtered out. Use the provider's calendar and site details independently of the test result.
  3. Update the matching case in tests/providers/availability_cases.py. Keep its key. Change the campground ID and booking URL if needed, the arrival and checkout dates, equipment inputs, and expected and excluded sites. Expected nights must precede checkout.

For a year rollover, check the new season and release window first. For example, the Jumbo Rocks RV case moved from Dec. 7–9, 2026 to Jan. 11–12, 2027 after confirming site 089 was open for a 30-foot RV. The tent case kept its December dates.

Find availability on each booking system ​

  • Recreation.gov — Open the campground's Availability tab. Choose dates and equipment, then open the expected campsite's details. Its ID is in its campsite URL.
  • UseDirect — Open the park and the facility or loop listed below. Select the dates and equipment in the reservation search or grid. For Fairfax County, use Lake Fairfax and its Campgrounds option. For Oregon Metro, choose Oxbow Regional Park and its campground. For Northern Territory, choose Litchfield National Park and Florence Falls 2WD Campground. Where the public link opens the general search, choose the park and campground by name.
  • GoingToCamp — Use the linked resource location, choose an overnight booking category and search dates and equipment, then open the highlighted loop and campsite. If there are seasonal or group categories, check that the chosen campsite is open for the intended overnight stay. Preserve the resource-location ID, including the minus sign.
  • ReserveAmerica — Use the campground calendar, select camping dates and equipment, and look up the site in the available results. Keep campground IDs in contract_facility form. The public booking site and the API use different hosts.

The test uses camply's normalized campsite types. A site offered for both RV and tent may have a single normalized type. For example, the Florida cases use two vehicle lengths at Oscar Scherer instead of treating its mixed-use sites as tent-only.

Record and verify one scenario ​

Use the full pytest case identifier. The candidate path must be a new YAML file under the ignored tmp/ directory. The recorder keeps public fields needed by the adapters, removes live session headers and unrelated content, and uses synthetic values for anonymous session replay.

sh
case_key=recreation-gov/jumbo-rocks-rv
test_case="tests/providers/test_availability_cassettes.py::test_known_open_search[asyncio-${case_key}]"
candidate=tmp/provider-cassettes/jumbo-rocks-rv.yaml

task backend:test -- "$test_case" \
  --record-provider-availability "$case_key" \
  --provider-availability-candidate "$candidate"

task backend:test -- "$test_case" --provider-availability-candidate "$candidate"

Review the candidate's requests, headers, JSON bodies, and fixture diff for user data, credentials, live session values, and unrelated fields. Run the second command with outbound networking disabled. Copy the passing candidate to tests/providers/cassettes/availability/<case-key>.yaml, update the scenario's verified date below, and run the provider suite.

sh
task backend:test -- tests/providers/test_availability_cassettes.py

If recording fails or inventory closes before capture, use another open stay or defer. Keep the previous case and cassette together, preserve the last successful verification date, and note the reason and next booking window below. Existing fixtures stay replayable independently of live inventory.

Recorded searches ​

Arrival and checkout are local campground dates. The scenario key identifies its entry in tests/providers/availability_cases.py and its cassette under tests/providers/cassettes/availability/.

Scenario keyCampground and native IDArrival to checkoutEquipment filterExpected siteVerified
recreation-gov/jumbo-rocks-tentJumbo Rocks Campground (272300)2026-12-07 to 2026-12-09Tent015 (103820)2026-11-25
recreation-gov/jumbo-rocks-rvJumbo Rocks Campground (272300)2027-01-11 to 2027-01-12RV 30 ft089 (103860)2026-11-25
reserve-california/rv-19ftBorrego Palm Canyon (sites 53-89) (327)2026-12-07 to 2026-12-09RV 19 ftCampsite #53 (4245)2026-11-25
reserve-california/rv-26ftBorrego Palm Canyon (sites 53-89) (327)2026-12-07 to 2026-12-09RV 26 ftCampsite #66 (4258)2026-11-25
florida-state-parks/rv-19ftOscar Scherer State Park, Loop A (139)2026-12-07 to 2026-12-09RV 19 ftRV or Tent #008 (2891)2026-11-25
florida-state-parks/rv-36ftOscar Scherer State Park, Loop A (139)2026-12-07 to 2026-12-09RV 36 ftRV or Tent #011 (2894)2026-11-25
virginia-state-parks/tentFirst Landing State Park, B - Collier Loop - (66-99, 101, 102) (59)2027-05-10 to 2027-05-12TentTent Only-No Hookups #66 (838)2026-11-25
virginia-state-parks/rvFirst Landing State Park, B - Collier Loop - (66-99, 101, 102) (59)2027-05-10 to 2027-05-12RV 30 ftElectric/Water #73 (826)2026-11-25
minnesota-state-parks/tentAfton State Park, Hike In (778)2027-03-08 to 2027-03-09TentHike-In #01 (15579)2026-11-25
minnesota-state-parks/rvWild River Campground (895)2026-12-07 to 2026-12-09RV 45 ftDrive-In Electric #61E (12810)2026-11-25
ohio-state-parks/tentHocking Hills Camp Sites 1-93 (458)2027-04-19 to 2027-04-21TentCampsite Non-Electric #081 (19614)2026-11-25
ohio-state-parks/rvHocking Hills Camp Sites 1-93 (458)2027-04-19 to 2027-04-21RV 30 ftCampsite Electric #013 (19539)2026-11-25
arizona-state-parks/rv-37ftLost Dutchman Main Campground (64)2027-04-05 to 2027-04-07RV 37 ftRustic #14 (1196)2026-11-25
arizona-state-parks/rv-50ftLost Dutchman Main Campground (64)2027-04-05 to 2027-04-07RV 50 ftRustic #04 (1186)2026-11-25
missouri-state-parks/rv-44ftBennett Spring State Park, Campground 1 (763)2026-12-07 to 2026-12-09RV 44 ftSewer/Electric/Water 50 amp #113 (10529)2026-11-25
missouri-state-parks/rv-86ftBennett Spring State Park, Campground 1 (763)2026-12-07 to 2026-12-09RV 86 ftSewer/Electric/Water 50 amp #118 (10534)2026-11-25
fairfax-county/otherLake Fairfax Park, Campgrounds (3163)2026-12-07 to 2026-12-09OtherMixed Use (Full Electric) #FC39 (18632)2026-11-25
fairfax-county/rvLake Fairfax Park, Campgrounds (3163)2026-12-07 to 2026-12-09RvRV Only (Full Electric) #FC1 (18652)2026-11-25
oregon-metro/tentOxbow Regional Park Campground (107)2027-05-17 to 2027-05-19TentTent Site #OC04 (693)2026-11-25
oregon-metro/rvOxbow Regional Park Campground (107)2027-05-17 to 2027-05-19RvRV Site #OC01 (659)2026-11-25
northern-territory/first-windowFlorence Falls 2WD Campground (79)2026-12-07 to 2026-12-08RvCampsite #N01 (665)2026-11-25
northern-territory/second-windowFlorence Falls 2WD Campground (79)2026-12-15 to 2026-12-16RvCampsite #N01 (665)2026-11-25
washington-state-parks/cabinDeception Pass State Park (-2147483624)2026-12-07 to 2026-12-09CabinC2 (-2147481328)2026-11-25
washington-state-parks/rvDeception Pass State Park (-2147483624)2026-12-07 to 2026-12-09RV 30 ft345 (-2147481286)2026-11-25
reserve-america/tentChatfield State Park (CO_50028)2026-12-07 to 2026-12-09Tent070 (CO_50028_1273)2026-11-25
reserve-america/rvChatfield State Park (CO_50028)2026-12-07 to 2026-12-09RV 30 ft015 (CO_50028_1338)2026-11-25
wisconsin-state-parks/tentDevil's Lake State Park (-2147483634)2027-04-12 to 2027-04-14TentG1 (-2147482503)2026-11-25
wisconsin-state-parks/rvDevil's Lake State Park (-2147483634)2027-04-12 to 2027-04-14RV 30 ft88 (-2147482827)2026-11-25
michigan-state-parks/tentTahquamenon Falls State Park (-2147483348)2026-12-07 to 2026-12-09Tent174 (-2147466893)2026-11-25
michigan-state-parks/rvTahquamenon Falls State Park (-2147483348)2026-12-07 to 2026-12-09RV 30 ft154 (-2147466689)2026-11-25
tacoma-power-parks/tentAlder Lake (-2147483648)2027-05-17 to 2027-05-19Tent53 (-2147483579)2026-11-25
tacoma-power-parks/rvAlder Lake (-2147483648)2027-05-17 to 2027-05-19RV 30 ft324 (-2147483433)2026-11-25
parks-canada/rv-28ftBanff - Tunnel Mountain Village 2 (-2147483648)2026-12-07 to 2026-12-09RV 28 ftA15 (-2147474283)2026-11-25
parks-canada/rv-35ftBanff - Tunnel Mountain Village 2 (-2147483648)2026-12-07 to 2026-12-09RV 35 ftB70 (-2147474460)2026-11-25
bc-parks/group-rvGolden Ears Provincial Park (-2147483606)2027-03-08 to 2027-03-10RVG1-Golden Ears Group (-2147480709)2026-11-25
bc-parks/group-otherGolden Ears Provincial Park (-2147483606)2027-03-08 to 2027-03-10OtherG3-Woodlands Group (-2147472926)2026-11-25
ontario-parks/tentAlgonquin - Mew Lake Campground (-2147483585)2026-12-07 to 2026-12-09Tent45 (-2147472331)2026-11-25
ontario-parks/rvAlgonquin - Mew Lake Campground (-2147483585)2026-12-07 to 2026-12-09RV 30 ft50 (-2147472291)2026-11-25
gatineau-park/first-windowGatineau Park, Winter (-2147483647)2027-01-11 to 2027-01-12TentGR5 (-2147483270)2026-11-25
gatineau-park/second-windowGatineau Park, Winter (-2147483647)2027-01-12 to 2027-01-13TentGR5 (-2147483270)2026-11-25

Minnesota uses an Afton hike-in tent site and a Wild River drive-in RV site. BC Parks uses the group camping calendar at Golden Ears. Camply classifies the two available group sites as RV and Other. The group inventory supplied no vehicle lengths. Recheck individual camping for a tent and vehicle-length contrast when those sites are bookable.

Northern Territory's Florence Falls 2WD and 4WD grids returned available sites with a single normalized RV category and no vehicle lengths. The two 2WD scenarios use distinct dates. Gatineau's Jan. 11 and Jan. 19 winter probes both returned only one normalized category, Tent. Its summer resource returned no available sites in the sampled January and May windows. Recheck the summer release for a second category. These constraints are listed in EQUIPMENT_FALLBACKS in tests/providers/test_availability_cassettes.py.

Deferred initial recordings ​

These probes found no bookable inventory on 2026-11-25. Each provider has a named expected failure in the coverage check. Remove its entry from SEASONAL_GAPS in tests/providers/test_availability_cassettes.py once both cases and their refresh details are ready. The rest of the suite runs normally.

ProviderBooking target and native IDWhen to retry
Nova Scotia ParksRissers Beach Provincial Park (-2147483635)The June 7 probe was empty. The Nova Scotia reservation page lists an April 2027 release. After release, look for open weekday tent and serviced RV sites.
Manitoba ParksBirds Hill Campground (-2147483644)May 24 and June 7 at Birds Hill and June 7 at Kiche Manitou were empty. Follow the Manitoba reservation service schedule for the Birds Hill release, then check the serviced and unserviced loops.
Newfoundland and Labrador ParksButter Pot Provincial Park (-2147483646)May 24 and June 7 probes were empty. Check the provincial campsite reservation service for the launch and use an in-season weekday.
Long Point RegionBackus Heritage Conservation Area (-2147483648)May 24 and June 7 probes were empty. Follow the conservation authority's camping page for the next nightly release.
Maitland ValleyFalls Reserve Conservation Area (-2147483648)May 24, June 7, and July 12 probes were empty. The Falls Reserve camping page lists an early January reopening for reservations.
St. Clair RegionWarwick Conservation Area (-2147483646)May 24 and June 7 probes were empty. The conservation authority lists Jan. 11, 2027 for online bookings. Try a weekday after the release.

Metadata recordings ​

Metadata replay covers discovery and exact lookup, published enrichment, catalog sync, and campsite listing. The inventory is in tests/providers/metadata_cases.py. Verification is independent of the seasonal availability recordings. The catalog cases that need a dated browse grid use December 7, 2026. Update the clock in tests/providers/test_metadata_catalog_cassettes.py together with those recordings if a new browse date is needed.

Operation and case keyPublic verification targetRecordingLast verified
discovery/recreation-govJumbo Rocks (272300), Joshua Tree (2782)discovery/recreation-gov.yaml2026-11-25
discovery/usedirectSouth Camp (611), Pfeiffer Big Sur SP (690)discovery/usedirect.yaml2026-11-25
discovery/going-to-campDeception Pass (-2147483624), parent -2147483630discovery/going-to-camp.yaml2026-11-25
discovery/reserve-americaChatfield State Park (CO_50021), Colorado state catalogdiscovery/reserve-america.yaml2026-11-25
enrichment/recreation-govJumbo Rocks and Joshua Tree, RIDB archiveridb/joshua-tree.zip2026-11-25
enrichment/usedirectLost Dutchman campground (64) and park (13)enrichment/usedirect.yaml2026-11-25
enrichment/reserve-americaJackson Lake State Park (CO_50028)enrichment/reserve-america.yaml2026-11-25
catalog/recreation-govJumbo Rocks site 001 (103904) and Joshua Tree (2782)catalog/recreation-gov.yaml, ridb/joshua-tree.zip2026-11-25
catalog/usedirectBorrego Palm Canyon site 53 (4245) and Anza-Borrego (2)catalog/usedirect.yaml2026-11-25
catalog/going-to-campDeception Pass site 31 (-2147481558) and parent -2147483630catalog/going-to-camp.yaml2026-11-25
catalog/reserve-americaChatfield State Park site 001 (CO_50021_3134), Colorado state catalogcatalog/reserve-america.yaml2026-11-25

Paths in the recording column are relative to tests/providers/cassettes/metadata/. ReserveAmerica records and replays a Colorado subset for discovery and sync, including its state pagination. ReserveAmerica has no recreation-area parent. GoingToCamp has no enrichment recording because its adapter has no enrichment path. The Lost Dutchman replay checks a successful park image and a campground without an image. The cassette retains only the image prefix the adapter needs.

For ReserveCalifornia discovery, search for South Camp in California. The recorded park catalog lists South Camp (611), Weyland Camp (612), and Main Camp (767) with online booking enabled. Group Sites A & B (609) and Day Use Lots 3 and 4 (2092, 2093) are present with AllowWebBooking: false. Keep both the included and excluded rows when refreshing so the test exercises area expansion filtering.

Refresh a single metadata recording ​

  1. Verify the target, names, IDs, relationships, and known fields on the public provider source. Update the inventory and test expectations independently of the replay output.
  2. Record the selected operation to a new candidate under tmp/. For example, use the following commands for Recreation.gov discovery.
  3. Review the candidate for public data, synthetic session placeholders, and relevant request matching fields. Run the replay command with outbound networking disabled. Copy the passing candidate into the recording path and update its verification date. Leave the committed recording available if recording or replay fails.
sh
node='tests/providers/test_metadata_discovery_cassettes.py::test_metadata_discovery[asyncio-recreation-gov]'
candidate=tmp/provider-metadata/recreation-gov-discovery.yaml

task backend:test -- "$node" \
  --record-provider-metadata discovery/recreation-gov \
  --provider-metadata-candidate "$candidate"
task backend:test -- "$node" --provider-metadata-candidate "$candidate"

For the shared Recreation.gov catalog and enrichment archive, download the public RIDB export into ignored storage. Use the archive tool to retain the selected area and campground, then review the compact ZIP members for public fields. With outbound networking disabled, run both tests against the same candidate. The catalog test uses the ZIP for sync and the existing YAML cassette for campsite listing. Replace tests/providers/cassettes/metadata/ridb/joshua-tree.zip and update its verification dates only after both tests pass.

sh
uv run python -m tests.providers.metadata_archive \
  tmp/provider-metadata/ridb-full.zip tmp/provider-metadata/joshua-tree-candidate.zip \
  --area-id 2782 --campground-id 272300

candidate=tmp/provider-metadata/joshua-tree-candidate.zip
task backend:test -- \
  'tests/providers/test_metadata_enrichment_cassettes.py::test_metadata_enrichment[asyncio-recreation-gov]' \
  --provider-metadata-candidate "$candidate"
task backend:test -- \
  'tests/providers/test_metadata_catalog_cassettes.py::test_metadata_catalog[asyncio-recreation-gov]' \
  --provider-metadata-candidate "$candidate"