Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add oauth2.credentials system tests #56

Merged
merged 4 commits into from
Oct 26, 2016
Merged

Conversation

theacodes
Copy link
Contributor

Resolves #43

import os

from oauth2client import client
from oauth2client import tools

This comment was marked as spam.

This comment was marked as spam.

}

with open(AUTHORIZED_USER_PATH, 'w') as fh:
json.dump(data, fh, indent=4)

This comment was marked as spam.

This comment was marked as spam.

from google.auth import _helpers
import google.oauth2.credentials

GOOGLE_OAUTH2_TOKEN_ENDPOINT = 'https://accounts.google.com/o/oauth2/token'

This comment was marked as spam.

This comment was marked as spam.

# limitations under the License.

"""This program obtains a set of user credentials needed by the system tests
for google.oauth2.credentials."""

This comment was marked as spam.

This comment was marked as spam.

@dhermes
Copy link
Contributor

dhermes commented Oct 26, 2016

LGTM after nits

@theacodes theacodes merged commit cf672c2 into master Oct 26, 2016
@theacodes theacodes deleted the user-auth-system-tests branch October 26, 2016 16:41
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants