fix: use context manager for mtls env var by busunkim96 · Pull Request #548 · googleapis/gapic-generator-python · GitHub
Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

fix: use context manager for mtls env var#548

Merged
software-dov merged 1 commit into
masterfrom
use-context
Jul 23, 2020
Merged

fix: use context manager for mtls env var#548
software-dov merged 1 commit into
masterfrom
use-context

Conversation

@busunkim96

Copy link
Copy Markdown
Contributor

git seems to be producing a hard to read diff, but the only change I've made is to use with mock.patch.dict(...) to modify the environment variable GOOGLE_API_USE_MTLS.

I deleted del os.environ["GOOGLE_API_USE_MTLS"] in #496 without realizing there were more tests above, and this group of tests started failing for me locally after the latest release.

@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Jul 23, 2020
@codecov

codecov Bot commented Jul 23, 2020

Copy link
Copy Markdown

@software-dov software-dov merged commit d19e180 into master Jul 23, 2020
@software-dov software-dov deleted the use-context branch July 23, 2020 00:29
@arithmetic1728

Copy link
Copy Markdown
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants