cardano-checkout-py/tests
Kayos dd435a5e2d v0.2: add store, mint, and monitor integration tests
Three new modules land in tests/ alongside the v0.1 pure-module
tests:

- test_store_protocol.py: InMemoryStore round-trips + Protocol
  conformance. Covers create / get / update / list_by_status /
  next_derivation_index / record_tx idempotency + defensive-copy
  semantics.
- test_mint_metadata.py: mint_nft_cert end-to-end against a stubbed
  ChainContext (no live Ogmios). Exercises the 2-of-2 native-script
  policy shape, tx body construction, CIP-25 envelope CBOR
  round-trip, and the oversize-asset-name guard.
- test_monitor_with_inmemory_store.py: monitor loop driven against
  InMemoryStore with Koios + the oracle monkeypatched. Covers every
  status transition the scheduler cares about (confirm, overpay,
  underpay, stay-pending, record_tx, expiry skip) and the two
  reprice code paths (successful reprice bumps expected_lovelace +
  expires_at; max_repricings flips to EXPIRED).

All 42 tests pass on pycardano 0.16 with pytest-asyncio auto mode.
2026-04-23 19:58:46 -07:00
..
test_addresses.py addresses: swap nonexistent HDPublicKey for HDWallet soft derivation 2026-04-23 19:55:16 -07:00
test_cip25_metadata.py v0.1.0-dev: initial extraction from TradeCraft + new abstractions 2026-04-23 18:04:00 -07:00
test_invoice.py v0.1.0-dev: initial extraction from TradeCraft + new abstractions 2026-04-23 18:04:00 -07:00
test_mint_metadata.py v0.2: add store, mint, and monitor integration tests 2026-04-23 19:58:46 -07:00
test_monitor_with_inmemory_store.py v0.2: add store, mint, and monitor integration tests 2026-04-23 19:58:46 -07:00
test_store_protocol.py v0.2: add store, mint, and monitor integration tests 2026-04-23 19:58:46 -07:00