chatelet/tests
Padreug 910db8156d test: NIP-59 gift wrap structure + crypto round-trip
Assert the wrap is kind 1059, p-tagged to the guest, authored by an
ephemeral key (not the operator), and that plaintext doesn't leak. Round-
trip: decrypt the wrap with the guest key via core nip44_decrypt to recover
the operator-authored seal (kind 13) — proves the ephemeral NIP-44 v2 layer
is real + interoperable, not just structural. Soft-fail case returns None.
24 pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019VUQCfdqiLSsFS2jcGnaFD
2026-07-19 20:34:12 +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_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