| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
@dhermes ping me when you're ready for review. |
Sorry, something went wrong.
|
I am "ready" for review. The AppVeyor fail is noted in #1434 IMO, the coverage drop just needs a pragma no cover. WDYT? |
Sorry, something went wrong.
|
I think it'd be nice to see a test case for this, if possible. |
Sorry, something went wrong.
|
@jonparrott I have previously implemented tests that mock import failures and the pay-off does not justify the amount that goes in. Maybe there is a better way and I just don't know how to do it? |
Sorry, something went wrong.
|
I guess I more want to ensure that _get_pem_key and _get_signature_bytes raises a more useful error than an AttributeError if crypto is not available. |
Sorry, something went wrong.
|
OK cool I can add that feature and test for it. |
Sorry, something went wrong.
|
@jonparrott PTAL. (Also remind me to squash to the commits before merging.) |
Sorry, something went wrong.
|
|
||
| return crypto.load_privatekey(crypto.FILETYPE_PEM, pem_text) | ||
| if crypto is None: | ||
| raise EnvironmentError('pyOpenSSL must be installed to load a ' |
|
LGTM with minor nits. You can squash commits if you want, but I don't see an issue with these being separate commits. |
Sorry, something went wrong.
| if not isinstance(string_to_sign, six.binary_type): | ||
| string_to_sign = string_to_sign.encode('utf-8') | ||
| if crypto is None: | ||
| raise EnvironmentError('pyOpenSSL must be installed to sign ' |
|
Good to go with the tiniest little nit. Feel free to merge once that's fixed and travis is happy. |
Sorry, something went wrong.
Allowing pyOpenSSL import to fail for GAE.
…python-docs-samples#1446) * add auto punctuation sample * correct docstring
…python-docs-samples#1446) * add auto punctuation sample * correct docstring
…python-docs-samples#1446) * add auto punctuation sample * correct docstring
…python-docs-samples#1446) * add auto punctuation sample * correct docstring
* docs: revise sample for nested schema * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * added TODO Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
Fixes #1445.