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

Increase test coverage for IsReattachableCommand #300

Open
lzpap opened this issue Feb 10, 2020 · 0 comments
Open

Increase test coverage for IsReattachableCommand #300

lzpap opened this issue Feb 10, 2020 · 0 comments

Comments

@lzpap
Copy link
Member

lzpap commented Feb 10, 2020

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant