-
Notifications
You must be signed in to change notification settings - Fork 16
GSoC 2021: Final Summary
- Merge back changes from previous GSoC(replace old M2Crypto with cryptography dependency)
- Convert to UTF-8 & Fix encoding issues
- Converting scripts to python entry points
- Merge Back Unit Tests & Add Unit Tests
- Using Pytest VCR to achieve Unit Test coverage
- Integration & Deployment
- Complete automated deployment to PyPI
- Support for dbf tables,xml,xls sheets and other libraries that need to be updated.
-
Branch main update:
-
Added pytest-vcr support:
-
Minor bugs fixed for PDF generation:
-
Fixed wsaa cryptography merge issues:
-
Bring back GSoC 2019 tests:
-
Fixed GSoC unit tests issues:
-
Added cassettes for tests from GSoC 2019:
-
Python version issues fixed:
-
Fixed some failing and xfailing tests
-
-
Added support for code coverage:
-
added coverage configuration files and updated workflow file
-
-
Fixed skipped tests:
-
fixed some more failing and xfailing tests
-
added pytest-freezegun support
-
-
Added entry points:
-
converted scripts into console scripts
-
this allowed the services to be called by single words in the command line
-
-
Increased code coverage for following scripts:
Pull Request What's it about PR#71 - pyfepdf.py This PR adds unit tests for the script pyfepdf.py and also increase the coverage for this script. For the above purpose, some additional files are also modified. - Added unit tests for pyfepdf.py. - Increased coverage to 80% on python 3 PR#72 - wsaa.py This PR adds unit tests for wsaa.py script and also increases coverage.- added unit tests for wsaa.py - updated cassettes - increased coverage to 72% for both versions PR#73 - wsbfev1.py This PR add unit tests for wsbfev1.py script. - added unit tests for wsbfev1.py - updated cassettes - increased coverage to 86% PR#74 - wscdc.py This PR adds unit tests for the script wscdc.py and increases its code coverage. - added unit tests for wscdc.py - updated cassettes - increased coverage to 85% for wscdc.py PR#75 - wsct.py This PR adds unit tests for the script wsct.py and also increases the code coverage for the same. - added unit tests for wsct.py - updated cassettes - increased code coverage to 59% for wsct.py PR#76 - wsfev1.py This PR adds unit tests for the script wsfev1.py and increases its code coverage. - added unit tests for wsfev1.py - updated cassettes - increased code coverage to 88% for wsfev1.py PR#77 - wsfexv1.py This PR adds unit tests for the script wsfexv1.py and also increases its code coverage. - added unit tests for wsfexv1.py - updated cassettes - increased code coverage to 84% PR#78 - wslsp.py This PR adds unit tests for the script wslsp.py and also increases its coverage. - added unit tests - updated cassettes - added wslsp.ini file - increased coverage to 83% for wslsp.py PR#79 - wsltv.py This PR add unit tests for the script wsltv.py and also increases its code coverage. -added unit tests for wsltv.py -added wsltv.ini file -renamed test xml file -increased coverage to 85% PR#80 - wslum.py This PR adds unit tests for the script wslum.py and also increases its coverage. - added unit tests for wslum.py - updated cassettes - added wslum.ini file - increased coverage to 76% PR#81 - wsmtx.py This PR adds unit tests for the script wsmtx.py and also increases its coverage. - added unit tests for wsmtx.py script - updated cassettes - increased coverage to 80% PR#82 - wsremcarne.py This PR adds unit tests for the script wsremcarne.py and also increases its coverage. - added unit tests for wsremcarne.py - updated cassettes - added wsremcarne.ini file - increased coverage to 85 % PR#86 - rece1.py This PR adds unit tests for the script rece1.py and also increase its coverage. - added unit tests for rece1.py - updated cassettes - updated .coveragerc file - increased coverage to 76% PR#87 - receb1.py This PR adds unit tests for the script receb1.py and also increases its coverage. - added unit tests for receb1.py - updated cassettes - updated .coveragerc file - increased coverage to 83% PR#88 - recex1.py This PR adds units tests for recex1.py and also increases its coverage - added unit tests for recex1.py - updated cassettes - added entrada_recex1.txt file for testing - increased coverage to 83% PR#89 - recem.py This PR adds unit tests for the script recem.py and increases its coverage. added unit tests for recem.py - added cassettes - updated .coveragerc file - increased code coverage to 76% PR#94 - pyemail.py This PR adds unit tests for the script pyemail.py and also increases its coverage. - added unit tests for pyemail.py - updated .coveragerc file - updated workflow file to copy rece.ini - increased coverage to 78% PR#95 - pyi25.py This PR adds unit tests for the script pyi25.py and increased coverage. added unit tests for the script pyi25.py - updated requirements-dev.txt file - updated .coveragerc - increased coverage upto 82% PR#96 - pyqr.py This PR adds unit tests for the script pyqr.py and also increases its coverage. added unit tests for pyqr.py - updated .coveragerc file - updated requirements-dev.txt file - added sample QR image for testing - increased code coverage to 86% for pyqr.py PR#97 - ws_sr_padron.py This PR adds some units tests for the script ws_sr_padron.py and also increases its coverage. - added unit tests for ws_sr_padron.py - added cassettes - added test csv file - increased coverage to 67% for this script
The final code coverage was increased to 81%.
-
Support for dbf tables,xml,xls sheets
-
Code coverage for scripts in formatos directory
Author:- @chazuttu
Commit | Date | Summary | Stats |
---|---|---|---|
946c708 | 2021-08-13 | added return and modified conf file location | 1 file changed, 3 insertions(+), 3 deletions(-) |
392bba3 | 2021-08-13 | Merge branch 'main' into coverage_wscdc | - |
b3a8b96 | 2021-08-13 | added return | 1 file changed, 1 insertion(+), 1 deletion(-) |
d2bc9a8 | 2021-08-13 | Merge branch 'main' into coverage_wsfev1 | - |
8f938a4 | 2021-08-13 | added return and updated conf file location | 1 file changed, 5 insertions(+), 5 deletions(-) |
92a828b | 2021-08-13 | updated workflow file | 1 file changed, 3 insertions(+) |
41d9e91 | 2021-08-13 | Merge branch 'main' into coverage_wslsp | - |
a8d35f4 | 2021-08-13 | added return and updated conf files location | 2 files changed, 9 insertions(+), 9 deletions(-) |
5c86093 | 2021-08-13 | updated workflow file | 1 file changed, 6 insertions(+) |
61106c1 | 2021-08-13 | updated rece.ini | 1 file changed, 4 insertions(+), 4 deletions(-) |
63a679a | 2021-08-13 | added return | 1 file changed, 1 insertion(+), 1 deletion(-) |
1294792 | 2021-08-11 | Merge branch 'coverage_pyemail' of https://github.com/chazuttu/pyafipws into coverage_pyemail | - |
30c0fee | 2021-08-11 | made changes in pyemail.py for python2 | 1 file changed, 6 insertions(+), 5 deletions(-) |
3d1eb2e | 2021-08-11 | added cassettes and test csv file | 5 files changed, 244 insertions(+) |
2742d98 | 2021-08-11 | added unit tests for ws_sr_padron.py | 1 file changed, 36 insertions(+), 11 deletions(-) |
ccb5424 | 2021-08-11 | modified ws_sr_padron.py file | 1 file changed, 8 insertions(+), 6 deletions(-) |
1eb48b4 | 2021-08-10 | added sample QR image for python 2 | 2 files changed, 5 insertions(+), 2 deletions(-) |
05b172e | 2021-08-10 | fixed QR image viewing error on linux | 1 file changed, 3 insertions(+), 1 deletion(-) |
38e9c77 | 2021-08-10 | added unit tests and increased coverage | 2 files changed, 113 insertions(+), 5 deletions(-) |
4f2af6e | 2021-08-10 | added sample QR image for testing | 1 file changed, 0 insertions(+), 0 deletions(-) |
816645b | 2021-08-10 | updated requirements-dev.txt for pytest-mock | 1 file changed, 3 insertions(+), 1 deletion(-) |
6e036f1 | 2021-08-10 | updated .coveragerc file | 1 file changed, 1 deletion(-) |
19feedb | 2021-08-09 | fixed url generation bug in pyqr.py | 1 file changed, 1 insertion(+), 1 deletion(-) |
c6a5506 | 2021-08-09 | fixed barcode viewing error on linux | 1 file changed, 1 insertion(+), 1 deletion(-) |
ce8f3d6 | 2021-08-09 | added test image for testing | 1 file changed, 0 insertions(+), 0 deletions(-) |
3e2a584 | 2021-08-09 | added unit tests | 1 file changed, 87 insertions(+) |
d3832c8 | 2021-08-09 | updated requirements-dev.txt for pytest-mock | 1 file changed, 3 insertions(+), 1 deletion(-) |
883b5ee | 2021-08-09 | updated .coveragerc file | 1 file changed, 1 deletion(-) |
dc9f363 | 2021-08-08 | updated accented characters in rece.ini that gave UnicodeDecodeError with python2 | 1 file changed, 4 insertions(+), 4 deletions(-) |
48a946d | 2021-08-08 | updated requirements.txt file for pytest-mock | 1 file changed, 3 insertions(+), 1 deletion(-) |
45c8032 | 2021-08-08 | added tests and increased coverage | 2 files changed, 107 insertions(+), 8 deletions(-) |
cdc090a | 2021-08-08 | updated workflow file to copy rece.ini in working directory | 1 file changed, 3 insertions(+) |
b3ed365 | 2021-08-08 | updated .coveragerc file | 1 file changed, 1 deletion(-) |
b9f2535 | 2021-08-05 | fixed accented characters in rece.ini | 1 file changed, 4 insertions(+), 4 deletions(-) |
68b51a7 | 2021-08-05 | resolved errors and made requested changes | 3 files changed, 24 insertions(+), 18 deletions(-) |
90ec9cb | 2021-08-05 | fixing assertion error in test for QR | 1 file changed, 2 insertions(+), 2 deletions(-) |
07cbbdd | 2021-08-05 | formmatted part of code causing error | 1 file changed, 28 insertions(+), 15 deletions(-) |
65caf23 | 2021-08-05 | pytest mock code fixed | 1 file changed, 1 insertion(+), 1 deletion(-) |
099163d | 2021-08-05 | made the requested changes | 9 files changed, 170 insertions(+), 19 deletions(-) |
2ab56c1 | 2021-08-02 | updated cassette | 1 file changed, 46 insertions(+) |
59dbbc0 | 2021-08-02 | updated certificate download link | 1 file changed, 1 insertion(+), 1 deletion(-) |
5b4bbc2 | 2021-07-27 | added tests and increased coverage for wsmtx.py | 11 files changed, 1218 insertions(+), 3 deletions(-) |
89a7c6f | 2021-07-27 | reverting back to old unicode assertion for test_main_autorizar testing | 1 file changed, 4 insertions(+), 10 deletions(-) |
0ad03d1 | 2021-07-27 | fixed unicode error for python 3 | 1 file changed, 1 insertion(+), 1 deletion(-) |
e7d31dd | 2021-07-27 | added tests and increased coverage for wsltv.py | 19 files changed, 816 insertions(+), 9 deletions(-) |
5885286 | 2021-07-27 | added tests and increased coverage for wslsp.py | 22 files changed, 2796 insertions(+), 4 deletions(-) |
b9306fa | 2021-07-27 | added tests and increased coverage for wsfexv1.py | 9 files changed, 2002 insertions(+), 5 deletions(-) |
e5a3275 | 2021-07-26 | added tests and increased coverage for wsfev1.py | 22 files changed, 3874 insertions(+), 5 deletions(-) |
00d20b7 | 2021-07-26 | added tests and increased coverage for wsct.py | 4 files changed, 99 insertions(+), 3 deletions(-) |
c2fb0fe | 2021-07-26 | fixed encoding issues for configparser | 1 file changed, 4 insertions(+), 1 deletion(-) |
a3300c7 | 2021-07-26 | fixed config file reading error in Python 2 | 1 file changed, 1 insertion(+), 1 deletion(-) |
fd2d1c0 | 2021-07-26 | added tests and increased coverage for wscdc.py | 7 files changed, 943 insertions(+), 15 deletions(-) |
45e4873 | 2021-07-26 | added tests and increased coverage for wsbfev1 | 7 files changed, 4230 insertions(+), 1 deletion(-) |
cc42782 | 2021-07-26 | fixed download command | 1 file changed, 1 insertion(+), 1 deletion(-) |
72906dd | 2021-07-26 | fixed broken download link | 1 file changed, 1 insertion(+), 1 deletion(-) |
541e05c | 2021-07-26 | added temporary download link for updated certificates | 1 file changed, 1 insertion(+), 1 deletion(-) |
7fd7ff3 | 2021-07-26 | added tests and increased coverage | 5 files changed, 248 insertions(+), 10 deletions(-) |
b01544b | 2021-07-26 | modified pyfepdf.py due to platform errors | 1 file changed, 2 insertions(+), 2 deletions(-) |
9fb2eeb | 2021-07-26 | added tests for pyfepdf.py and increased coverage | 9 files changed, 346 insertions(+), 13 deletions(-) |
c051e80 | 2021-07-13 | removed extra global declarations | 1 file changed, 1 insertion(+), 1 deletion(-) |
9b1ca78 | 2021-07-13 | removed unnecesaary global declarations | 22 files changed, 22 insertions(+), 22 deletions(-) |
3f81fb9 | 2021-07-09 | added global variables | 1 file changed, 1 insertion(+), 1 deletion(-) |
e8b5e59 | 2021-07-09 | added pytest freezegun | 1 file changed, 1 insertion(+), 1 deletion(-) |
8d862c5 | 2021-07-09 | updated requirements.txt | 1 file changed, 2 insertions(+), 1 deletion(-) |
b98ca0e | 2021-07-09 | added main method for entry points | 27 files changed, 138 insertions(+), 38 deletions(-) |
1a6d80c | 2021-07-09 | added entry points | 1 file changed, 42 insertions(+) |
55f5fc4 | 2021-07-02 | updated cassettes | 10 files changed, 133 insertions(+), 132 deletions(-) |
6fa135f | 2021-07-02 | fixed skipped and xfailing tests | 4 files changed, 87 insertions(+), 19 deletions(-) |
3c66447 | 2021-07-02 | moved all tests to test_wsaa.py | 1 file changed, 74 deletions(-) |
43fff42 | 2021-07-01 | updated coverage config file and workflow | 2 files changed, 36 insertions(+), 1 deletion(-) |
d4f8b97 | 2021-07-01 | updated workflow | 2 files changed, 12 insertions(+), 1 deletion(-) |
6778dd6 | 2021-06-28 | version dependent assertion issues fixed | 4 files changed, 17 insertions(+), 21 deletions(-) |
addf489 | 2021-06-26 | reverting minor change in wsfexv1.py | 1 file changed, 1 insertion(+), 1 deletion(-) |
acbad74 | 2021-06-25 | fixed issues with str(which was causing errors on different py versions) | 8 files changed, 50 insertions(+), 22 deletions(-) |
706ae65 | 2021-06-25 | evince not working properly with os, used subprocess instead | 3 files changed, 6 insertions(+), 6 deletions(-) |
de05b9f | 2021-06-25 | fixed issues with date format(which was causing error on different py versions) | 1 file changed, 4 insertions(+), 4 deletions(-) |
5554a44 | 2021-06-25 | fixed issues with cacert reading | 1 file changed, 2 insertions(+), 2 deletions(-) |
d33783e | 2021-06-25 | added support for unicode literals | 1 file changed, 1 insertion(+) |
b17c6c4 | 2021-06-25 | pytest config file added | 1 file changed, 3 insertions(+) |
18a58a8 | 2021-06-22 | updated cassettes for test_wsfexv1.py | 11 files changed, 214 insertions(+), 269 deletions(-) |
1657fd4 | 2021-06-22 | updated tests | 14 files changed, 255 insertions(+), 405 deletions(-) |
2b72734 | 2021-06-22 | updated conftest.py with fixtures | 1 file changed, 25 insertions(+), 1 deletion(-) |
6f1fb72 | 2021-06-21 | updated test compatibility for python 2 | 8 files changed, 17 insertions(+), 5 deletions(-) |
c576d38 | 2021-06-21 | fixed errors in tests | 2 files changed, 3 insertions(+), 2 deletions(-) |
9c48536 | 2021-06-21 | generated cassettes and fixed tests | 153 files changed, 27074 insertions(+), 646 deletions(-) |
177f42b | 2021-06-21 | updated requirements.txt | 1 file changed, 2 insertions(+), 1 deletion(-) |
5187153 | 2021-06-19 | fixed tests | 12 files changed, 124 insertions(+), 93 deletions(-) |
b1db9f3 | 2021-06-19 | updated requirements.txt | 1 file changed, 1 insertion(+), 1 deletion(-) |
8c10ba3 | 2021-06-19 | expired xml file for testing | 1 file changed, 14 insertions(+) |
e730cdc | 2021-06-19 | cassette for vcr | 1 file changed, 109 insertions(+) |
d6e6182 | 2021-06-11 | added more unit tests for wsaa.py | 1 file changed, 45 insertions(+), 9 deletions(-) |
096734d | 2021-06-11 | enabled inline passing of cert/key and ability to use passphrase for encryption | 1 file changed, 17 insertions(+), 6 deletions(-) |
199f16e | 2021-06-11 | configured date function to support different time-zones | 1 file changed, 2 insertions(+), 1 deletion(-) |
259bbc1 | 2021-06-11 | fixed bug for pdf generation | 1 file changed, 1 insertion(+), 1 deletion(-) |
3bfa7fa | 2021-06-11 | added pytest-vcr support | 1 file changed, 1 insertion(+) |
76ea8cd | 2021-06-11 | fixed minor bugs for PDF generation | 1 file changed, 2 insertions(+), 2 deletions(-) |
e3727d2 | 2021-06-11 | minor bug fixes for PDF generation | 3 files changed, 4 insertions(+), 4 deletions(-) |
5f1ce7b | 2021-06-11 | pytest-vcr support added | 4 files changed, 1000 insertions(+), 2 deletions(-) |