arachnys / cabot

Self-hosted, easily-deployable monitoring and alerts service - like a lightweight PagerDuty
MIT License
5.59k stars 594 forks source link

Add test for graphite.parse_metric when exception is raised #575

Closed JeanFred closed 6 years ago

JeanFred commented 6 years ago

Add test for when the API call to Graphite throws an exception.

codecov[bot] commented 6 years ago

Codecov Report

Merging #575 into master will increase coverage by 0.17%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #575      +/-   ##
=========================================
+ Coverage   80.53%   80.7%   +0.17%     
=========================================
  Files          43      43              
  Lines        2846    2846              
  Branches      173     173              
=========================================
+ Hits         2292    2297       +5     
+ Misses        495     490       -5     
  Partials       59      59
Impacted Files Coverage Δ
cabot/cabotapp/graphite.py 78.78% <0%> (+7.57%) :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 5040c55...72e0543. Read the comment docs.