Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@motorina0
Copy link
Collaborator

@motorina0 motorina0 commented Apr 10, 2024

Summary

TLDR;

  • only lnbits/wallets/corelightning.py needs serious reviewing, the rest of the changes are tests
  • lnbits/wallets/corelightning.py is only refactored to better handle errors (no functional changes added)

This PR:

  • adds unit-test framework for RPC based wallets and does some refactorings for the rest tests
  • adds unit tests for corelightning and breez (which are disabled/skipped until feat: add Breez SDK wallet #1897 is merged)

@codecov
Copy link

codecov bot commented Apr 12, 2024

Codecov Report

Attention: Patch coverage is 97.10145% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 60.29%. Comparing base (055426a) to head (0e40629).
Report is 1 commits behind head on dev.

Files Patch % Lines
lnbits/wallets/corelightning.py 97.10% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2396      +/-   ##
==========================================
+ Coverage   59.96%   60.29%   +0.33%     
==========================================
  Files          65       65              
  Lines        9434     9458      +24     
==========================================
+ Hits         5657     5703      +46     
+ Misses       3777     3755      -22     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@motorina0 motorina0 marked this pull request as ready for review April 12, 2024 06:42
@motorina0 motorina0 requested a review from prusnak April 12, 2024 06:58
@dni dni self-requested a review April 15, 2024 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants