akamhy / waybackpy

Wayback Machine API interface & a command-line tool
https://pypi.org/project/waybackpy/
MIT License
476 stars 33 forks source link

Coverge improvements #22

Closed akamhy closed 4 years ago

akamhy commented 4 years ago

Refactor the code to make testing easier.

codecov[bot] commented 4 years ago

Codecov Report

Merging #22 into master will increase coverage by 26.33%. The diff coverage is 95.34%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #22       +/-   ##
===========================================
+ Coverage   70.39%   96.72%   +26.33%     
===========================================
  Files           5        5               
  Lines         179      183        +4     
===========================================
+ Hits          126      177       +51     
+ Misses         53        6       -47     
Impacted Files Coverage Δ
waybackpy/cli.py 97.50% <95.23%> (+51.44%) :arrow_up:
waybackpy/wrapper.py 95.60% <100.00%> (+8.79%) :arrow_up:

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 4dcda94...d8b29ff. Read the comment docs.