saltstack / pepper

A library and stand-alone CLI tools to access a salt-api instance
Other
247 stars 124 forks source link

Use json decode error everywhere #157

Closed robin-wittler closed 6 years ago

robin-wittler commented 6 years ago

This uses the JSONDecodeError abstraction for every json.loads call - this makes it more stringent.

codecov[bot] commented 6 years ago

Codecov Report

Merging #157 into develop will not change coverage. The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #157   +/-   ##
========================================
  Coverage    59.69%   59.69%           
========================================
  Files            3        3           
  Lines          526      526           
========================================
  Hits           314      314           
  Misses         212      212
Impacted Files Coverage Δ
pepper/cli.py 74.81% <0%> (ø) :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 65078ff...fda6a04. Read the comment docs.