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

Implement MockHTTPResponse.close #201

Merged
merged 2 commits into from
Feb 6, 2024

Conversation

iv-m
Copy link
Contributor

@iv-m iv-m commented Aug 17, 2023

@jhatler
Copy link
Contributor

jhatler commented Dec 23, 2023

I merged #202, #205, and #206 on my fork and then rebased this commit onto them. I updated the commit slightly to pass the docstring checks. All of the tox checks pass in my build here:

jhatler#6

Once #202, #205, and #206 are merge, I think this can be as well.

Once this is merged, #200 should be fixed as this project will be compatible with urllib3 v2.

@IvanAnishchuk
Copy link

Could this be a good time to revive this? Is any work still required before this can be merged?

@sigmavirus24
Copy link
Collaborator

Could this be a good time to revive this? Is any work still required before this can be merged?

If @iv-m wants to rebase this I'd merge it. If someone else wants to resubmit on their behalf that's fine by me too

@iv-m
Copy link
Contributor Author

iv-m commented Feb 6, 2024

If @iv-m wants to rebase this I'd merge it.

Done)

src/betamax/mock_response.py Outdated Show resolved Hide resolved
src/betamax/mock_response.py Outdated Show resolved Hide resolved
src/betamax/mock_response.py Outdated Show resolved Hide resolved
There's no need for `self.__closed` as we don't need something so hidden or mangled for this purpose, plus it doesn't really hide anything at all.
@sigmavirus24 sigmavirus24 merged commit 8d1dd17 into betamaxpy:main Feb 6, 2024
7 checks passed
@sigmavirus24
Copy link
Collaborator

0.9.0 has been released with this. Thank you @iv-m @jhatler

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.

4 participants