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.

Increase test coverage for IsReattachableCommand #300

@lzpap

Description

@lzpap

The command itself doesn't have tests for the logic it implements.

Would be great to have some tests for IsReattachableCommandTestCase in is_reattachable_test.py.

Tests should cover:

  • An input transaction is found for the address, and it is confirmed.
  • An input transaction is found for the address, and it is not confirmed.
  • No transaction found for the address.
  • Transaction(s) found, but none of them are value transfers.
  • More transactions found, only the one with the latest attachement_timestamp is used.

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