Skip to content

test: add offline tests for DerivationPath #60

Backlog

Description

@ArchieTyagi

bdk-python has no tests for DerivationPath, but bdk-android has DerivationPathTest.kt with 5 offline tests.

plan: add tests/test_offline_derivation_path.py porting those same 5 tests:

  • parse from string
  • to string
  • is_master / master()
  • invalid path raises Bip32Error.InvalidChildNumberFormat
  • child() with normal and hardened ChildNumber

no network needed, no rust changes. i can open the PR if this sounds good.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions