Closed ElinSwedin closed 7 years ago
WalletCorrection model could have a clean(self)
function to check if amount == 0
otherwise it is not considered a correction?
The code is not compatible with Django 1.9 anymore, but I don't think it is an issue. I've got some changes in workings that are not compatible with Django 1.9 and as we are the only ones using this project at the moment, I propose we drop the 1.9 compatibility.
Merging #18 into develop will increase coverage by
0.83%
. The diff coverage is95.85%
.
@@ Coverage Diff @@
## develop #18 +/- ##
===========================================
+ Coverage 86.88% 87.71% +0.83%
===========================================
Files 71 73 +2
Lines 2218 2410 +192
Branches 115 126 +11
===========================================
+ Hits 1927 2114 +187
- Misses 275 278 +3
- Partials 16 18 +2
Impacted Files | Coverage Δ | |
---|---|---|
src/foobar/urls.py | 60% <ø> (ø) |
:white_check_mark: |
src/foobar/forms.py | 100% <100%> (ø) |
|
src/wallet/api.py | 100% <100%> (ø) |
:white_check_mark: |
src/wallet/tests/test_api.py | 100% <100%> (ø) |
:white_check_mark: |
src/foobar/wallet/api.py | 100% <100%> (ø) |
:white_check_mark: |
src/foobar/tests/test_views.py | 100% <100%> (ø) |
|
src/foobar/api.py | 95.4% <100%> (+1.46%) |
:white_check_mark: |
src/foobar/tests/test_api.py | 100% <100%> (ø) |
:white_check_mark: |
src/foobar/enums.py | 100% <100%> (ø) |
:white_check_mark: |
src/foobar/admin.py | 60.14% <66.66%> (+0.62%) |
:white_check_mark: |
... and 5 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update a663d96...9d01b87. Read the comment docs.
It would be really nice to get some colors there. At a glance, you don't really see which entries are losses and which are "gains".
LGTM :+1:
Codecov Report
60% <ø> (ø)
100% <100%> (ø)
100% <100%> (ø)
95.23% <100%> (+1.29%)
100% <100%> (ø)
100% <100%> (ø)
100% <100%> (ø)
100% <100%> (ø)
100% <100%> (ø)
60.74% <77.77%> (+1.21%)
Continue to review full report at Codecov.