Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Getting to 100% coverage for clientsecrets module. #278

Merged

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Aug 23, 2015

No description provided.

@dhermes dhermes mentioned this pull request Aug 23, 2015
52 tasks
if client_type not in VALID_CLIENT:
raise InvalidClientSecretsError(
'Unknown client type: %s.' % (client_type,))
client_info = obj[client_type]

This comment was marked as spam.

This comment was marked as spam.

@nathanielmanistaatgoogle
Copy link
Contributor

Looks good to me; consider my one comment optional and merge at your leisure.

@dhermes dhermes force-pushed the 100-percent-coverage-clientsecrets branch from 1c46582 to 684f542 Compare August 24, 2015 00:43
@dhermes
Copy link
Contributor Author

dhermes commented Aug 24, 2015

I did as you asked and also dealt with the possibility that the input was not a dictionary.

dhermes added a commit that referenced this pull request Aug 24, 2015
Getting to 100% coverage for clientsecrets module.
@dhermes dhermes merged commit 38d3a32 into googleapis:master Aug 24, 2015
@dhermes dhermes deleted the 100-percent-coverage-clientsecrets branch August 24, 2015 00:48
@nathanielmanistaatgoogle
Copy link
Contributor

I like it; nice use of unpacking.

@dhermes dhermes mentioned this pull request Aug 26, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants