-
-
Notifications
You must be signed in to change notification settings - Fork 76
Add unit tests to transaction.py #406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #406 +/- ##
==========================================
+ Coverage 86.08% 86.40% +0.32%
==========================================
Files 32 32
Lines 4205 4201 -4
Branches 1049 1047 -2
==========================================
+ Hits 3620 3630 +10
+ Misses 408 399 -9
+ Partials 177 172 -5 ☔ View full report in Codecov by Sentry. |
pycardano/transaction.py
Outdated
@@ -88,6 +90,8 @@ def normalize(self) -> Asset: | |||
for k, v in list(self.items()): | |||
if v == 0: | |||
self.pop(k) | |||
|
|||
# traceback.print_stack() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove this leftover comment and the corresponding import :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Just removed.
Looks good, thank you for your contribution! Just a minor comment to address. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Increase test coverage for transaction.py