Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Hide new github app secrets #326

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ interactions:
user-agent:
- Default
method: GET
uri: https://github.com/login/oauth/access_token?client_id=Iv23liSqj8DAO20A3KLA&client_secret=a6a6397fffea369e54495c88ca469d988ea4ccd2&code=71367b9f258ca9a60c44
uri: https://github.com/login/oauth/access_token?client_id=testkey&client_secret=testsecret&code=71367b9f258ca9a60c44
response:
content: '{"access_token":"testtoken","expires_in":28800,"refresh_token":"testtoken","refresh_token_expires_in":15897600,"token_type":"bearer","scope":""}'
headers:
Expand Down Expand Up @@ -166,7 +166,7 @@ interactions:
x-github-api-version-selected:
- "2022-11-28"
x-oauth-client-id:
- Iv23liSqj8DAO20A3KLA
- testkey
http_version: HTTP/1.1
status_code: 200
version: 1
4 changes: 2 additions & 2 deletions tests/integration/test_github.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ async def test_get_authenticated_user_with_public_emails(self, codecov_vcr):

handler = Github(
oauth_consumer_token=dict(
key="Iv23liSqj8DAO20A3KLA",
secret="a6a6397fffea369e54495c88ca469d988ea4ccd2",
key="testkey",
secret="testsecret",
)
)
res = await handler.get_authenticated_user(code)
Expand Down
Loading