10000 Merge pull request #550 from itsmemattchung/tests/migrate-repos · pythonthings/github3.py@50a612e · GitHub
[go: up one dir, main page]

Skip to content

Commit 50a612e

Browse files
committed
Merge pull request sigmavirus24#550 from itsmemattchung/tests/migrate-repos
Migrated several repo test cases to tests/{unit/integration}
2 parents 16f0ba4 + ea2a719 commit 50a612e

9 files changed

+126
-50
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"http_interactions": [{"request": {"body": {"string": "", "encoding": "utf-8"}, "headers": {"Accept-Encoding": "gzip, deflate", "Accept": "application/vnd.github.v3.full+json", "User-Agent": "github3.py/1.0.0a2", "Accept-Charset": "utf-8", "Connection": "keep-alive", "Content-Type": "application/json", "Authorization": "token <AUTH_TOKEN>"}, "method": "GET", "uri": "https://api.github.com/repos/github3py/test_rename1"}, "response": {"body": {"string": "", "base64_string": "H4sIAAAAAAAAA+2Yz46jOBDG34XrZuNOMpmdQVrNvsFe9rSXyIADVgNGtknUjfrd9yubf0ErkrSvLbVaBKgfn8tVdpW7SGZRfDh82+1evv/cRDWvRBRHVhh70oJ+7aJNdG7L8tQ/yqUt2uTQvLHFS+paCx3FXVSqXNaAjG+CQF/Z/fFjvzt+30T8wi3Xp1aXeKuwtjExY/6m2Xqr1gidqtqK2m5TVbGW9da/Ln8ewMt1DyFwhBsLWCN7kLcGzbC5nsJW5UKAf+zen795VmWprrBf6l39BBvNyH0OIev8MwiYdUzZQsBhGMYHDV4a+6QcZ9JhYJhXmRHEYAq0yJ6T1BtBEE32R8e0aJSjtYlJtWysVPWT0m5MgVI657V8559AwdSAQKKeFOFMYCouiLgnbb1NxxotLzx9I3dokQp5gXc/w1sYA2ffGsrKv2eeIZ9LK048qyjZzrw04mMTOQ0WL7sbG2TXQ3G+zOVMjLPp0+us9OsIXc0158kpg5ZkAt3x7xoBeQV7DP5VvIVgyLxj+N9nQ4oU5YnS3Kp7mb4q74bTsflPigsreBUi29mDUygV5EVnD440phUPBenqqB3GsCER6rZK/Er1SPivkj0ASrkxMq+FCPHeyOjYsJQmmtdpEUQdEB3zV26eeR4ilMxBSUqVhGCwjTHH6JgpuN857ClQG0EJccPU4hwqlBAj0+qwmXYiiTESsXNZTHqIygHBut6bJa/zludB0JFBCzq25Jy/3601VjNmgoBIJZSWSRu8qk0Y0uk3e+R4kDsnysR0BcR6TbI++lkd4sZfVfLefr4K7Ak30R5Opfhckun3/eLjrlhCdGxagv0S38MDPNuv8YPK+Sf6Qj0kGAYE635ruC1orcKXGq5FgOSewLqEozjabrddIbgrfiuhw9LWA0DiOi1Q6QWo7AYESpuKW1dUn0lkhiK7VDwL8evIAM/PYIBSD5jPfIPGMESes58DK1mi9VR10Jo6QeboWll5lukjfcVqkt1wul9G1qnY8LLcIFqtTCXiFz0bTSAqShHkHg/AINCH+7aiFAjlEI9r4REd821gqgX6hezELQr9/cvu+PvLN/z9szvGxx/xYf8vxtE22co7xx2907SmuIPBotcHH67Q8f9fw33TLlALD7QxxWT312QV+8vlUURvlZaIokWwP/zFy3IPumsJnYWqRINyIIprhDX1Z++4frnZ11PV1vA0bl65ReGJHXS6NdQCA6Dg5uRzLoqtbqmdw50ppWc3r/JVzl8iHWZs2HzTNX2oklqr/gDGa1WNqPtvDYL2dHBBzRapnT2PYjwZ1LuHmTjztrQnX/8ijipuLM6CEBVCVxgBHQrQyVDfrPqxUMQMkmkd8NfoYecHAF/nSf1h29d50nRSuH7y9nWedHvaiXLi5jAKafn4eVIt7BWLwGyRmhf//Yqy//gPqfx+q0cWAAA=", "encoding": "utf-8"}, "headers": {"vary": "Accept, Authorization, Cookie, X-GitHub-OTP", "x-github-media-type": "github.v3; param=full; format=json", "x-oauth-scopes": "admin:public_key, gist, repo, user", "x-xss-protection": "1; mode=block", "x-content-type-options": "nosniff", "x-accepted-oauth-scopes": "repo", "etag": "W/\"b65aa49394ebed8bb8880c22f7fe4d50\"", "cache-control": "private, max-age=60, s-maxage=60", "status": "200 OK", "x-ratelimit-remaining": "4992", "x-served-by": "7b641bda7ec2ca7cd9df72d2578baf75", "access-control-expose-headers": "ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval", "transfer-encoding": "chunked", "x-github-request-id": "97E45D32:135D6:101E3E7:56A08B23", "access-control-allow-credentials": "true", "last-modified": "Sat, 04 Apr 2015 15:58:51 GMT", "date": "Thu, 21 Jan 2016 07:39:15 GMT", "access-control-allow-origin": "*", "content-security-policy": "default-src 'none'", "content-encoding": "gzip", "strict-transport-security": "max-age=31536000; includeSubdomains; preload", "server": "GitHub.com", "x-ratelimit-limit": "5000", "x-frame-options": "deny", "content-type": "application/json; charset=utf-8", "x-ratelimit-reset": "1453362332"}, "status": {"message": "OK", "code": 200}, "url": "https://api.github.com/repos/github3py/test_rename1"}, "recorded_at": "2016-01-21T07:39:16"}, {"request": {"body": {"string": "", "encoding": "utf-8"}, "headers": {"Content-Length": "0", "Accept-Encoding": "gzip, deflate", "Accept": "application/vnd.github.v3.full+json", "User-Agent": "github3.py/1.0.0a2", "Accept-Charset": "utf-8", "Connection": "keep-alive", "Content-Type": "application/json", "Authorization": "token <AUTH_TOKEN>"}, "method": "DELETE", "uri": "https://api.github.com/repos/github3py/test_rename1/collaborators/littleboyd"}, "response": {"body": {"string": "", "encoding": null}, "headers": {"status": "204 No Content", "x-ratelimit-remaining": "4991", "x-github-media-type": "github.v3; param=full; format=json", "x-content-type-options": "nosniff", "content-security-policy": "default-src 'none'", "access-control-expose-headers": "ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval", "x-github-request-id": "97E45D32:135D6:101E434:56A08B23", "strict-transport-security": "max-age=31536000; includeSubdomains; preload", "vary": "Accept-Encoding", "server": "GitHub.com", "x-ratelimit-limit": "5000", "x-oauth-scopes": "admin:public_key, gist, repo, user", "x-served-by": "173530fed4bbeb1e264b2ed22e8b5c20", "access-control-allow-credentials": "true", "date": "Thu, 21 Jan 2016 07:39:16 GMT", "x-frame-options": "deny", "access-control-allow-origin": "*", "x-accepted-oauth-scopes": "", "x-xss-protection": "1; mode=block", "x-ratelimit-reset": "1453362332"}, "status": {"message": "No Content", "code": 204}, "url": "https://api.github.com/repos/github3py/test_rename1/collaborators/littleboyd"}, "recorded_at": "2016-01-21T07:39:16"}], "recorded_with": "betamax/0.5.0"}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"http_interactions": [{"request": {"body": {"string": "", "encoding": "utf-8"}, "headers": {"Accept-Encoding": "gzip, deflate", "Accept": "application/vnd.github.v3.full+json", "User-Agent": "github3.py/1.0.0a2", "Accept-Charset": "utf-8", "Connection": "keep-alive", "Content-Type": "application/json", "Authorization": "token <AUTH_TOKEN>"}, "method": "GET", "uri": "https://api.github.com/repos/vcr/vcr"}, "response": {"body": {"string": "", "base64_string": "H4sIAAAAAAAAA+1YTW/jNhD9K4IuPdQxZTtOEAHF9thbiyKnXgxaoi0ikijww4Ej5L/38UOy5MWuzT3nktj0vMeZ4Qxnhn3KyzTfbrbrp6dF2tKGpXl6KmS6SA+mrneXFeJXxXvLZJr3aS2OvB2FLcv6JVu/PD8vUnqimsqdkTV+r7TuVE6IX1TLI9eV2RvFZCFazVq9LERDDAnob6c/Ntj8KAOJJU6xcEXW8UDk0WBTQcFKN/XV1n5LJxlME3Ut3oG51vEHtOQwAKxf3GfeHuPAAPRE6IrBMVD30xrJlb5bBSfcE/tvx0sLV3CyZOW9agRxKGGP8LMnknXC8Zi9KiTvNBft3erMQCAR8khb/kGjSABSwFpF7t7YCQPEToidu1Feuied5CdanK3ZkhWMn+C/OKYrGIj0ubNZ8/fEA9arXLMdLRubJAdaK/a5SN3uGsJuYYHcuBGrIV5LNh4QNvqXFUKWyVkYmWimdKIM9vpNJX+9vv6TcCSVpIU7h4S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encoding": "utf-8"}, "headers": {"vary": "Accept, Authorization, Cookie, X-GitHub-OTP", "x-github-media-type": "github.v3; param=full; format=json", "x-oauth-scopes": "admin:public_key, gist, repo, user", "x-xss-protection": "1; mode=block", "x-content-type-options": "nosniff", "x-accepted-oauth-scopes": "repo", "etag": "W/\"df3e1a57a609aec0eb7b986967034dd7\"", "cache-control": "private, max-age=60, s-maxage=60", "status": "200 OK", "x-ratelimit-remaining": "4999", "x-served-by": "e183f7c661b1bbc2c987b3c4dc7b04e0", "access-control-expose-headers": "ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval", "transfer-encoding": "chunked", "x-github-request-id": "97E45D32:175B2:14E0BBB:56A09EB5", "access-control-allow-credentials": "true", "last-modified": "Wed, 20 Jan 2016 09:31:54 GMT", "date": "Thu, 21 Jan 2016 09:02:45 GMT", "access-control-allow-origin": "*", "content-security-policy": "default-src 'none'", "content-encoding": "gzip", "strict-transport-security": "max-age=31536000; includeSubdomains; preload", "server": "GitHub.com", "x-ratelimit-limit": "5000", "x-frame-options": "deny", "content-type": "application/json; charset=utf-8", "x-ratelimit-reset": "1453370565"}, "status": {"message": "OK", "code": 200}, "url": "https://api.github.com/repos/vcr/vcr"}, "recorded_at": "2016-01-21T09:02:45"}, {"request": {"body": {"string": "{\"subcribed\": true}", "encoding": "utf-8"}, "headers": {"Content-Length": "19", "Accept-Encoding": "gzip, deflate", "Accept": "application/vnd.github.v3.full+json", "User-Agent": "github3.py/1.0.0a2", "Accept-Charset": "utf-8", "Connection": "keep-alive", "Content-Type": "application/json", "Authorization": "token <AUTH_TOKEN>"}, "method": "PUT", "uri": "https://api.github.com/repos/vcr/vcr/subscription"}, "response": {"body": {"string": "", "base64_string": "H4sIAAAAAAAAA42NQQ7CIBBF7zJrWihREzmHKzcNUGxJEMjMYGKMd5caD+DiL15e8t8LqDnyGF1YwDC2ICCuueCON5uoMwZLJYPJLSUBviOHZbYMBrSaToOaBj1d1NkobQ7HKwhomLrcmCsZKW2N4xp5a2705S4x1ELy4fG7X75y7Im91WXkgs/5/xN4fwDLBeD7xwAAAA==", "encoding": "utf-8"}, "headers": {"vary": "Accept, Authorization, Cookie, X-GitHub-OTP", "x-github-media-type": "github.v3; param=full; format=json", "x-oauth-scopes": "admin:public_key, gist, repo, user", "x-xss-protection": "1; mode=block", "x-content-type-options": "nosniff", "x-accepted-oauth-scopes": "notifications, repo", "etag": "W/\"8ae3e25aaa16336326ed178864acdd8a\"", "cache-control": "private, max-age=60, s-maxage=60", "status": "200 OK", "x-ratelimit-remaining": "4998", "x-served-by": "76d9828c7e4f1d910f7ba069e90ce976", "access-control-expose-headers": "ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval", "transfer-encoding": "chunked", "x-github-request-id": "97E45D32:175B2:14E0C12:56A09EB5", "access-control-allow-credentials": "true", "date": "Thu, 21 Jan 2016 09:02:45 GMT", "access-control-allow-origin": "*", "content-security-policy": "default-src 'none'", "content-encoding": "gzip", "strict-transport-security": "max-age=31536000; includeSubdomains; preload", "server": "GitHub.com", "x-ratelimit-limit": "5000", "x-frame-options": "deny", "content-type": "application/json; charset=utf-8", "x-ratelimit-reset": "1453370565"}, "status": {"message": "OK", "code": 200}, "url": "https://api.github.com/repos/vcr/vcr/subscription"}, "recorded_at": "2016-01-21T09:02:46"}], "recorded_with": "betamax/0.5.0"}

0 commit comments

Comments
 (0)
0