Closed rodrigondec closed 3 years ago
Merging #19 (6374bda) into main (eaf6915) will increase coverage by
4.94%
. The diff coverage is96.00%
.
@@ Coverage Diff @@
## main #19 +/- ##
==========================================
+ Coverage 79.00% 83.95% +4.94%
==========================================
Files 7 12 +5
Lines 281 405 +124
==========================================
+ Hits 222 340 +118
- Misses 59 65 +6
Impacted Files | Coverage Δ | |
---|---|---|
bb_wrapper/utils.py | 100.00% <ø> (ø) |
|
bb_wrapper/services/mod.py | 86.84% <86.84%> (ø) |
|
bb_wrapper/services/barcode.py | 98.50% <98.50%> (ø) |
|
bb_wrapper/models/boleto.py | 100.00% <100.00%> (ø) |
|
bb_wrapper/services/b64.py | 100.00% <100.00%> (ø) |
|
bb_wrapper/services/qrcode.py | 100.00% <100.00%> (ø) |
|
bb_wrapper/services/unicode.py | 100.00% <100.00%> (ø) |
|
bb_wrapper/wrapper/cobrancas.py | 66.19% <100.00%> (ø) |
|
... and 3 more |
Impacted Files | Coverage Δ | |
---|---|---|
bb_wrapper/utils.py | 100.00% <ø> (ø) |
|
bb_wrapper/services/mod.py | 86.84% <86.84%> (ø) |
|
bb_wrapper/services/barcode.py | 98.50% <98.50%> (ø) |
|
bb_wrapper/models/boleto.py | 100.00% <100.00%> (ø) |
|
bb_wrapper/services/b64.py | 100.00% <100.00%> (ø) |
|
bb_wrapper/services/qrcode.py | 100.00% <100.00%> (ø) |
|
bb_wrapper/services/unicode.py | 100.00% <100.00%> (ø) |
|
bb_wrapper/wrapper/cobrancas.py | 66.19% <100.00%> (ø) |
|
... and 3 more |
Resumo
Esse PR refatora e adiciona muitas coisas.
Dentre elas:
utils.py
paraservices/
ModService
com cálculo de módulo 10 e 11 (digitos verificadores)BarcodeService.codeline_to_barcode
BarcodeService.barcode_to_codeline
BarcodeService.calculate_barcode_dv
BarcodeService.calculate_codeline_dv
BarcodeService.validate_codeline
BarcodeService.validate_codeline