andreas-stuerz / opn-cli

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

fix bugs with empty list yaml output and firewall rule duplictate -d options #8

Closed andreas-stuerz closed 3 years ago

andreas-stuerz commented 3 years ago

fix bug with empty list and yaml output firewall rule fix duplictate -d option

codecov[bot] commented 3 years ago

Codecov Report

Merging #8 (458e638) into main (7cdb481) will decrease coverage by 0.08%. The diff coverage is 75.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##              main       #8      +/-   ##
===========================================
- Coverage   100.00%   99.91%   -0.09%     
===========================================
  Files           47       47              
  Lines         1243     1245       +2     
===========================================
+ Hits          1243     1244       +1     
- Misses           0        1       +1     
Impacted Files Coverage Δ
opnsense_cli/commands/firewall/rule.py 100.00% <ø> (ø)
opnsense_cli/formats/yaml_output.py 95.83% <75.00%> (-4.17%) :arrow_down:

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 7cdb481...458e638. Read the comment docs.