envoyproxy / playground

Playing nice with the neighbours
Apache License 2.0
8 stars 4 forks source link

py: Refactoring and tests #255

Closed phlax closed 3 years ago

phlax commented 3 years ago

Signed-off-by: Ryan Northey ryan@synca.io

codecov-io commented 3 years ago

Codecov Report

Merging #255 (d84d5b2) into main (a1eaf90) will decrease coverage by 0.02%. The diff coverage is 56.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #255      +/-   ##
==========================================
- Coverage   48.76%   48.73%   -0.03%     
==========================================
  Files         108      109       +1     
  Lines        2949     2930      -19     
==========================================
- Hits         1438     1428      -10     
+ Misses       1511     1502       -9     
Impacted Files Coverage Δ
playground/control/api/handler.py 38.27% <0.00%> (+9.02%) :arrow_up:
playground/control/connectors/docker/events.py 21.05% <0.00%> (-3.64%) :arrow_down:
playground/control/decorators.py 50.00% <0.00%> (-0.47%) :arrow_down:
ui/src/app/api/handler.js 20.80% <0.00%> (ø)
playground/control/api/listener.py 83.13% <92.85%> (-2.74%) :arrow_down:
playground/control/attribs/event.py 100.00% <100.00%> (ø)
tests/py/api/test_listener.py 100.00% <100.00%> (ø)
tests/py/test_request.py 100.00% <0.00%> (ø)

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 a1eaf90...d84d5b2. Read the comment docs.