FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix branch coverage for un-called callbacks. by tseaver · Pull Request #6242 · googleapis/google-cloud-python · GitHub

Fix branch coverage for un-called callbacks. - #6242

Merged
tseaver merged 1 commit into
googleapis:masterfrom
tseaver:6211-api_core-fix_branch_coverage
Oct 17, 2018
Merged

Fix branch coverage for un-called callbacks.#6242
tseaver merged 1 commit into
googleapis:masterfrom
tseaver:6211-api_core-fix_branch_coverage

Conversation

tseaver commented Oct 17, 2018

Copy link
Copy Markdown
Contributor

Use mock.Mock() w/ return_value True, rather than inlining lambda _: True in cases where the callback doesn't get called.

Use 'mock.Mock()' w/ 'return_value' True, rather than inlining
'lambda _: True' in cases where the callback doesn't get called.
tseaver requested a review from crwilcox October 17, 2018 19:46
googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 17, 2018

tseaver commented Oct 17, 2018

Copy link
Copy Markdown
Contributor Author

Merging w/o review: testing only fix for broken api_core CI on master.

tseaver merged commit 7527a4e into googleapis:master Oct 17, 2018
tseaver deleted the 6211-api_core-fix_branch_coverage branch October 17, 2018 19:57
parthea pushed a commit that referenced this pull request Nov 24, 2025
Use 'mock.Mock()' w/ 'return_value' True, rather than inlining
'lambda _: True' in cases where the callback doesn't get called.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL