Skip to content

Commit

Permalink
Update test data for the google plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
psss committed Sep 25, 2018
1 parent 4f89088 commit abd63b5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
],
'google': [
'google-api-python-client',
'oauth2client',
],
}

Expand Down
2 changes: 1 addition & 1 deletion tests/plugins/google-api-credentials.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"_module": "oauth2client.client", "scopes": ["https://www.googleapis.com/auth/calendar.readonly"], "token_expiry": "2016-11-11T15:35:13Z", "id_token": null, "access_token": "ya29.Ci-TA0TZ88PHSf5xnCa5fV6xgolQdNezzWPAhbklOPZHchlqkRi4BLqu2aC_Q9zmQQ", "token_uri": "https://www.googleapis.com/oauth2/v4/token", "invalid": false, "token_response": {"access_token": "ya29.Ci-TA0TZ88PHSf5xnCa5fV6xgolQdNezzWPAhbklOPZHchlqkRi4BLqu2aC_Q9zmQQ", "token_type": "Bearer", "expires_in": 3600, "refresh_token": "1/ewZPgkGkWncPP2nGK2pxEAalhvYPw8lrbsufyum0uew"}, "client_id": "598386917099-8tnnigaqjdrar7rju9uemgn1stcrlm17.apps.googleusercontent.com", "token_info_uri": "https://www.googleapis.com/oauth2/v3/tokeninfo", "client_secret": "uRa81hwB2KA-veOeFthVAS-T", "revoke_uri": "https://accounts.google.com/o/oauth2/revoke", "_class": "OAuth2Credentials", "refresh_token": "1/ewZPgkGkWncPP2nGK2pxEAalhvYPw8lrbsufyum0uew", "user_agent": "did"}
{"_module": "oauth2client.client", "scopes": ["https://www.googleapis.com/auth/calendar.readonly"], "token_expiry": "2018-09-25T14:16:50Z", "id_token": null, "user_agent": "did", "access_token": "ya29.GlsjBnOWkKrs7XpvJ19MesQg69ZZluP1r16lwcX_3DkbPrgwhR3lUmviXMYr6b2KomzoE2i5NW-qnu9Yt-1fA1wO3BUexeMZv8ln8euBg-ZR0_N9deEgbnUJCN17", "token_uri": "https://oauth2.googleapis.com/token", "invalid": false, "token_response": {"access_token": "ya29.GlsjBnOWkKrs7XpvJ19MesQg69ZZluP1r16lwcX_3DkbPrgwhR3lUmviXMYr6b2KomzoE2i5NW-qnu9Yt-1fA1wO3BUexeMZv8ln8euBg-ZR0_N9deEgbnUJCN17", "scope": "https://www.googleapis.com/auth/calendar.readonly", "token_type": "Bearer", "expires_in": 3600, "refresh_token": "1/I9-fldyFZVLhqL3T5RfRx33_pUsFAhu5R6yXUDodBTWfXSNMqtdaS3JL7H_96Z6M"}, "client_id": "389009292292-c130a3j6gpgs4677qlt3qil1kbs6gvel.apps.googleusercontent.com", "token_info_uri": "https://oauth2.googleapis.com/tokeninfo", "client_secret": "vGlqWk35qnF2pj0qoYxNByrH", "revoke_uri": "https://oauth2.googleapis.com/revoke", "_class": "OAuth2Credentials", "refresh_token": "1/I9-fldyFZVLhqL3T5RfRx33_pUsFAhu5R6yXUDodBTWfXSNMqtdaS3JL7H_96Z6M", "id_token_jwt": null}
6 changes: 3 additions & 3 deletions tests/plugins/test_google.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@

CONFIG = """
[general]
email = "Let's Test Did" <letstestdid@gmail.com>
email = "The Did Tester" <the.did.tester@gmail.com>
[google]
type = google
client_id = 598386917099-8tnnigaqjdrar7rju9uemgn1stcrlm17.apps.googleusercontent.com
client_secret = uRa81hwB2KA-veOeFthVAS-T
client_id = 389009292292-c130a3j6gpgs4677qlt3qil1kbs6gvel.apps.googleusercontent.com
client_secret = vGlqWk35qnF2pj0qoYxNByrH
storage = tests/plugins/google-api-credentials.json
"""

Expand Down

0 comments on commit abd63b5

Please sign in to comment.