Metron-Project / mokkari

Python wrapper for Metron API
GNU General Public License v3.0
9 stars 1 forks source link

Allow null value for image fields #31

Closed bpepple closed 2 years ago

bpepple commented 2 years ago

Prevent possible ApiError if there is no image url.

codecov-commenter commented 2 years ago

Codecov Report

Merging #31 (39ecae1) into main (c9d423a) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #31   +/-   ##
=======================================
  Coverage   97.03%   97.03%           
=======================================
  Files          14       14           
  Lines         608      608           
=======================================
  Hits          590      590           
  Misses         18       18           
Flag Coverage Δ
unittests 97.03% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mokkari/arc.py 100.00% <100.00%> (ø)
mokkari/character.py 100.00% <100.00%> (ø)
mokkari/creator.py 100.00% <100.00%> (ø)
mokkari/issue.py 100.00% <100.00%> (ø)
mokkari/publisher.py 100.00% <100.00%> (ø)
mokkari/series.py 100.00% <100.00%> (ø)
mokkari/team.py 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more