Ousret / pyTeliumManager

Python library to manipulate Ingenico mobile payment device like iCT220 or iWL220 equipped with Telium Manager. RS232/USB.
http://pyteliummanager.readthedocs.io
MIT License
103 stars 20 forks source link

2.4.0 Release #12

Closed Ousret closed 4 years ago

Ousret commented 4 years ago

pyTeliumManager 2.4.0

Changes :

Thank you for using this lib. Hope it has served you well. Any PR would be appreciated. There is so much that can be done.

Ousret commented 4 years ago

Seems like pycountry has made some BC-Break changes.

======================================================================
309ERROR: test_telium_ask_currencies_setter (test_payment.TestTPE)
310----------------------------------------------------------------------
311Traceback (most recent call last):
312  File "/home/travis/build/Ousret/pyTeliumManager/test/test_payment.py", line 73, in test_telium_ask_currencies_setter
313    my_payment.currency_numeric = 'USSSD'
314  File "/home/travis/build/Ousret/pyTeliumManager/telium/payment.py", line 97, in currency_numeric
315    self._currency_numeric = str(currencies.get(alpha_3=currency.upper()).numeric).zfill(3)
316AttributeError: 'NoneType' object has no attribute 'numeric'
codecov-io commented 4 years ago

Codecov Report

Merging #12 into master will decrease coverage by 1.07%. The diff coverage is 77.14%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #12      +/-   ##
==========================================
- Coverage   92.55%   91.48%   -1.08%     
==========================================
  Files           4        5       +1     
  Lines         309      364      +55     
==========================================
+ Hits          286      333      +47     
- Misses         23       31       +8
Impacted Files Coverage Δ
telium/payment.py 95.45% <100%> (+0.97%) :arrow_up:
telium/constant.py 100% <100%> (ø) :arrow_up:
telium/hexdump.py 100% <100%> (ø)
telium/manager.py 82.96% <50%> (-4.85%) :arrow_down:

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 f4dc37f...fd8daac. Read the comment docs.