raiden-network / raiden-wizard

The Raiden Wizard On-Boarding Tool
https://raiden-network.readthedocs.io/en/stable/installation/quick-start/
MIT License
9 stars 17 forks source link

Add tests for webserver http handlers #310

Closed manuelwedler closed 4 years ago

manuelwedler commented 4 years ago

This adds tests for the http handlers of the server. Websockets is still missing. Additionally it removes some unused code.

codecov[bot] commented 4 years ago

Codecov Report

Merging #310 into develop will increase coverage by 15.56%. The diff coverage is 79.54%.

Impacted file tree graph

@@             Coverage Diff              @@
##           develop     #310       +/-   ##
============================================
+ Coverage    59.62%   75.18%   +15.56%     
============================================
  Files           22       22               
  Lines         1798     1757       -41     
============================================
+ Hits          1072     1321      +249     
+ Misses         726      436      -290     
Flag Coverage Δ
#python-integration 68.46% <79.54%> (+26.31%) :arrow_up:
#python-unit 39.64% <6.81%> (+0.63%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
raiden_installer/shared_handlers.py 60.23% <75.00%> (+60.23%) :arrow_up:
raiden_installer/web.py 33.15% <77.77%> (+33.15%) :arrow_up:
raiden_installer/__init__.py 100.00% <100.00%> (ø)
raiden_installer/tokens.py 100.00% <100.00%> (ø)
raiden_installer/web_testnet.py 31.57% <100.00%> (+31.57%) :arrow_up:
raiden_installer/token_exchange.py 97.79% <0.00%> (+0.73%) :arrow_up:
raiden_installer/network.py 85.41% <0.00%> (+2.08%) :arrow_up:
raiden_installer/ethereum_rpc.py 91.57% <0.00%> (+6.31%) :arrow_up:
... and 2 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 5b6106e...1c0d678. Read the comment docs.