pogzyb / asyncwhois

Python WHOIS and RDAP utility for querying and parsing information about Domains, IPv4s, IPv6s, and AS numbers
MIT License
63 stars 18 forks source link

Add check for empty query_output #58

Closed pogzyb closed 1 year ago

pogzyb commented 1 year ago

This PR adds an additional check to query_output to ensure that empty responses are not passed to the parser resulting in parser_output containing only None values.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 16.66% and project coverage change: -0.13 :warning:

Comparison is base (ab1fb1f) 88.88% compared to head (a1803a8) 88.75%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #58 +/- ## ========================================== - Coverage 88.88% 88.75% -0.13% ========================================== Files 8 8 Lines 2815 2819 +4 ========================================== Hits 2502 2502 - Misses 313 317 +4 ``` | [Impacted Files](https://app.codecov.io/gh/pogzyb/asyncwhois/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joe) | Coverage Δ | | |---|---|---| | [asyncwhois/query.py](https://app.codecov.io/gh/pogzyb/asyncwhois/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Joe#diff-YXN5bmN3aG9pcy9xdWVyeS5weQ==) | `78.43% <16.66%> (-2.11%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.