Files
deb-python-oauth2client/scripts/local_test_setup.sample
Danny Hermes 659869f19a Adding system tests to make sure token exchange works as expected.
- Updates CONTRIBUTING.md to explain how to set-up and run these tests.
- Requires a version of httplib2 that has not been released on PyPI
  yet in order to work on Python 3.
- Simply creates 3 different token types (JSON key for svc. acct.,
  P12 key for svc. acct., JSON key for user acct.) and then authorizes
  an httplib2.Http object to hit the USERINFO API.
2015-04-13 10:06:18 -07:00

6 lines
413 B
Plaintext

export OAUTH2CLIENT_TEST_JSON_KEY_PATH="tests/data/gcloud/application_default_credentials.json"
export OAUTH2CLIENT_TEST_P12_KEY_PATH="tests/data/privatekey.p12"
export OAUTH2CLIENT_TEST_P12_KEY_EMAIL="project-foo@developer.gserviceaccount.com"
export OAUTH2CLIENT_TEST_USER_KEY_PATH="tests/data/gcloud/application_default_credentials_authorized_user.json"
export OAUTH2CLIENT_TEST_USER_KEY_EMAIL="foo@gmail.com"