#9933 test: Avoid real network call to PyPI in `TestVersionCheckService`
Pull request opened by
edgarrmondragon
Description
Checklist
• I have read the
contribution guide
Was generative AI tooling used to co-author this PR?
• Yes (please specify the tool below)
Related Issues
• Closes #XXXX
Summary by Sourcery
Improve version check tests to avoid real PyPI calls and make network call assertions more robust.
Tests:
• Mock PyPI responses in the invalid version test to prevent real network requests.
• Adjust cache-related test to assert on a stored responses call count instead of hard-coding the expected value.
meltano/meltano