Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: replace mock_download with httpretty mock #9209

Merged
merged 1 commit into from
Mar 23, 2024

Conversation

abn
Copy link
Member

@abn abn commented Mar 23, 2024

Removes mock_download in favour of using socket level mocking. This ensures we can test actual code paths (eg: poetry.utils.helpers.download_file) better.

@abn abn requested a review from a team March 23, 2024 15:19
@abn abn force-pushed the tests/remove-mock-download branch from 85f15a0 to ebac8a1 Compare March 23, 2024 15:19
@neersighted neersighted added area/testing Related to the test suite kind/enhancement Not a bug or feature, but improves usability or performance labels Mar 23, 2024
@neersighted neersighted merged commit 266fb3d into python-poetry:main Mar 23, 2024
24 checks passed
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/testing Related to the test suite kind/enhancement Not a bug or feature, but improves usability or performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants