andreas-stuerz / opn-cli

CLI for OPNsense Firewall using API Requests
BSD 2-Clause "Simplified" License
45 stars 8 forks source link

add exit 1 on command failures and throw Exceptions #9

Closed andreas-stuerz closed 3 years ago

codecov[bot] commented 3 years ago

Codecov Report

Merging #9 (79031c1) into main (c10a841) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main        #9   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           47        47           
  Lines         1257      1279   +22     
=========================================
+ Hits          1257      1279   +22     
Impacted Files Coverage Δ
opnsense_cli/api/client.py 100.00% <100.00%> (ø)
opnsense_cli/exceptions/api.py 100.00% <100.00%> (ø)
opnsense_cli/exceptions/command.py 100.00% <100.00%> (ø)
opnsense_cli/facades/firewall_alias.py 100.00% <100.00%> (ø)
opnsense_cli/facades/firewall_rule.py 100.00% <100.00%> (ø)
opnsense_cli/tests/api/test_client.py 100.00% <100.00%> (ø)
opnsense_cli/tests/command/test_firewall_alias.py 100.00% <100.00%> (ø)
opnsense_cli/tests/command/test_firewall_rule.py 100.00% <100.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 c10a841...79031c1. Read the comment docs.