Skip to content

Conversation

@lightswitch05
Copy link
Contributor

@lightswitch05 lightswitch05 commented Oct 25, 2025

I see I was woefully late providing updates to #155 and the issue was already addressed. But it seems test were not added. I thought I could maybe help out with a few at least. While I was adding tests, I improve test coverage in a few other spots as well. I think it only bumps the over-all coverage by 1% - but maybe its useful.

"class": "IN"
},
"answer": []
"answer": ["127.0.0.1"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Being a non-global address results in the same behavior - but covers more code.

@JoshData
Copy link
Owner

Thanks!!

Just one check is failing now in tests:

tests/test_main.py:85: error: Function is missing a type annotation for one or more arguments [no-untyped-def]

@lightswitch05
Copy link
Contributor Author

@JoshData sorry about that - its fixed up now. Since it is a test for an invalid type... I used Any. I'm not sure what your thoughts are on the Any type, I see its used in another test. I can change it if you like.

@JoshData
Copy link
Owner

Since this is just in tests that seems totally fine. Thanks!

@JoshData JoshData merged commit 52b24c6 into JoshData:main Oct 27, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants