Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Add tests for get_bundles_from_transaction_hashes #302

@lzpap

Description

@lzpap

Write test cases for get_bundles_from_transaction_hashes method in iota/commands/extended/utils.py.

Some ideas what to check:

  • happy path, everything works as it should.
  • empty list provided, empty list returned.
  • GetTrytesCommand returns empty response.
  • GetTrytesCommand returns only tails.
    GetTrytesCommand returns only non tail txs, tails are correctly determined by fetching additional bundle transactions.
  • inclusion state is correctly updated in the response bundle.
  • returned bundles are sorted based on tail tx's timestamp
    ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions