-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Coverage for 'gcloud._apitools.http_wrapper' #1196
Coverage for 'gcloud._apitools.http_wrapper' #1196
Conversation
…dHttpConnections'.
…equest'. Separates testing concerns.
Also, fix pep8 breakage.
@@ -91,8 +90,7 @@ def _Httplib2Debuglevel(http_request, level, http=None): | |||
httplib2.debuglevel = old_level | |||
if http is not None: | |||
for connection_key, old_level in http_levels.items(): | |||
if connection_key in http.connections: | |||
http.connections[connection_key].set_debuglevel(old_level) | |||
http.connections[connection_key].set_debuglevel(old_level) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
LGTM |
…wrapper Coverage for 'gcloud._apitools.http_wrapper'
…leCloudPlatform/python-docs-samples#1196) * Adds snippets for enabling and restoring a key version * Fixed lint issues
Uses #1193 as a base.