Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Add oauth2.credentials system tests#56

Merged
theacodes merged 4 commits intomasterfrom
user-auth-system-tests
Oct 26, 2016
Merged

Add oauth2.credentials system tests#56
theacodes merged 4 commits intomasterfrom
user-auth-system-tests

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants