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

Documentation for mocking specific sessions shows incorrect output #260

Open
gibsramen opened this issue May 24, 2024 · 0 comments
Open

Comments

@gibsramen
Copy link

The section on mocking specific sessions shows incorrect output of the code.

image

I believe the output should be:

requests.get before session mock: global
session.get before session mock: global
Within session mock: global
Within session mock: session
After session mock: global
After session mock: global

Happy to submit a PR for this.

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

No branches or pull requests

1 participant