chatelet/tests
Padreug 94542ad0f9 feat(api): keyless GET /api/v1/public/bookings/{id} for guests
The guest cannot subscribe to the operator's wallet and the existing
booking read needs a wallet invoice key, so a client had no way to wait
for awaiting_payment -> confirmed over HTTP short of polling the invoice
on LNbits core. Add the HTTP twin of the RPC door's chatelet_booking_get:
the 10-char booking id from the quote is the capability, and the response
is public_booking_dict — lifecycle, dates and money only, with the guest's
pubkey/contact and the Lightning/Nostr plumbing stripped.

Closes #18

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-15 23:43:21 +02:00
..
__init__.py test: booking-flow, availability, and #4 concurrency regression 2026-07-19 17:48:11 +02:00
conftest.py test: booking-flow, availability, and #4 concurrency regression 2026-07-19 17:48:11 +02:00
test_admin_endpoints.py test: operator admin endpoint logic (ownership, update, settings merge) 2026-07-20 00:44:10 +02:00
test_atomic_hold.py test: booking-flow, availability, and #4 concurrency regression 2026-07-19 17:48:11 +02:00
test_availability.py test: booking-flow, availability, and #4 concurrency regression 2026-07-19 17:48:11 +02:00
test_booking_flow.py test: booking-flow, availability, and #4 concurrency regression 2026-07-19 17:48:11 +02:00
test_events.py test: event-builder shape (30402/30078/31923/22001) 2026-07-19 18:09:35 +02:00
test_giftwrap.py test: NIP-59 gift wrap structure + crypto round-trip 2026-07-19 20:34:12 +02:00
test_migrations.py test: real-DB migration test (#14) 2026-07-20 00:10:52 +02:00
test_public_endpoints.py feat(api): keyless GET /api/v1/public/bookings/{id} for guests 2026-09-15 23:43:21 +02:00