Skip to content
Snippets Groups Projects

#213: Write unit tests for the transaction command

Merged #213: Write unit tests for the transaction command
Merged matograine requested to merge transaction_tests into dev

#213 (closed): Unit tests for tx.py. Create unit tests for:

  • handle_intermediaries_transactions,
  • send_transaction,
  • generate_and_send_transaction,
  • display_sent_tx,
  • check_transaction_values,
  • generate_unlocks,
  • generate_output,

Modifies test for get_list_input_for_transaction,

Changes how patched_get_sources() works:

  • create a dictionary for test sources.

Deals with other issues:

Edited by Moul

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Moul
  • Moul
  • Moul
  • Moul
  • With this firsts reviews fixed, I can approve the auth and tui parts.

    Following steps would be to review the money and tx parts.

  • Moul
  • Moul
  • Moul
  • Moul
  • Moul
  • Moul
  • Moul
  • Moul
  • Moul
  • Moul
  • matograine added 60 commits

    added 60 commits

    Compare with previous version

  • matograine changed the description

    changed the description

  • matograine added 16 commits

    added 16 commits

    Compare with previous version

  • matograine mentioned in merge request !143 (merged)

    mentioned in merge request !143 (merged)

  • matograine added 28 commits

    added 28 commits

    Compare with previous version

  • matograine added 12 commits

    added 12 commits

    Compare with previous version

  • matograine added 30 commits

    added 30 commits

    Compare with previous version

  • Moul changed the description

    changed the description

  • matograine
  • matograine added 15 commits

    added 15 commits

    Compare with previous version

  • matograine added 16 commits

    added 16 commits

    Compare with previous version

  • matograine added 16 commits

    added 16 commits

    Compare with previous version

  • matograine mentioned in merge request !154 (merged)

    mentioned in merge request !154 (merged)

  • Moul resolved all threads

    resolved all threads

  • Very clean commits, which make the review way easy. I appreciate it. Great work!

    I quickly checked the big tests of the big functions. I trust you on that. And this is tests, this is not critical as the runtime code.

    Let's move on and not block everything, we will improve/fix the tests when we will find things to improve.

  • Moul approved this merge request

    approved this merge request

  • Thanks for your nice comment !

    OK. I'll rebase it on the current dev, merge, then create tests for !154 (merged) (issue #362 (closed))

  • matograine added 23 commits

    added 23 commits

    Compare with previous version

  • merged

  • Moul mentioned in issue #197

    mentioned in issue #197

  • Moul changed title from #213 (closed): Transaction tests to #213 (closed): Write unit tests for the Transaction command

    changed title from #213 (closed): Transaction tests to #213 (closed): Write unit tests for the Transaction command

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading