8000 Re-record Repository.teams test · pythonthings/github3.py@ec67974 · GitHub
[go: up one dir, main page]

Skip to content

Commit ec67974

Browse files
committed
Re-record Repository.teams test
1 parent ad6e4ed commit ec67974

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/cassettes/Repository_teams.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"recorded_with": "betamax/0.8.0", "http_interactions": [{"response": {"body": {"string": "{\"message\":\"Bad credentials\",\"documentation_url\":\"https://developer.github.com/v3\"}", "encoding": "utf-8"}, "headers": {"X-RateLimit-Limit": "60", "X-RateLimit-Reset": "1496099157", "Content-Security-Policy": "default-src 'none'", "Content-Type": "application/json; charset=utf-8", "X-GitHub-Request-Id": "9AFB:29AC:3CF67FB:48EF984:592C9B49", "Date": "Mon, 29 May 2017 22:06:01 GMT", "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", "Access-Control-Allow-Origin": "*", "X-RateLimit-Remaining": "38", "Server": "GitHub.com", "X-GitHub-Media-Type": "github.drax-preview; format=json", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "Content-Length": "83", "X-Frame-Options": "deny", "Status": "401 Unauthorized", "X-XSS-Protection": "1; mode=block", "X-Content-Type-Options": "nosniff"}, "url": "https://api.github.com/repos/github3py/github3.py", "status": {"code": 401, "message": "Unauthorized"}}, "recorded_at": "2017-05-29T22:06:01", "request": {"uri": "https://api.github.com/repos/github3py/github3.py", "body": {"string": "", "encoding": "utf-8"}, "method": "GET", "headers": {"Connection": "keep-alive", "Accept-Charset": "utf-8", "Authorization": "Basic <BASIC_AUTH>", "Content-Type": "application/json", "User-Agent": "github3.py/1.0.0a4", "Accept": "application/vnd.github.drax-preview+json", "Accept-Encoding": "gzip, deflate"}}}]}
1+
{"http_interactions": [{"request": {"body": {"encoding": "utf-8", "string": ""}, "headers": {"User-Agent": "github3.py/1.0.0a4", "Accept-Encoding": "gzip, deflate", "Accept": "application/vnd.github.drax-preview+json", "Connection": "keep-alive", "Accept-Charset": "utf-8", "Content-Type": "application/json", "Authorization": "Basic <BASIC_AUTH>"}, "method": "GET", "uri": "https://api.github.com/repos/github3py/fork_this"}, "response": {"body": {"encoding": "utf-8", "base64_string": "H4sIAAAAAAAAA+1Yy3LrNgz9lYy2dUI7j5tEM53bfkE3d9WNh5Zoi40kqiRlj6PJv/eApCzJUzsOvc3GI1M4RyAIgAC6ROZJ+vSy+PH68jhLal6JJE3WSr8tbSFNMkvWbVkuw/pG2qJdPTR7NpZQu1roJO2SUm1kDfhBDHCiXzy/3C+efswSvuWW62WrS0gV1jYmZcwvmvmdh7VG6EzVVtT2LlMVa1mA/9z+/gjCjQ4sxJxg4YitkYHIo8Fm2FihwlblkQb+tZMfS65VWaod8McKn/0ETBNgZDz3LOtNDAVgHVO2ELAYtvFBm5fGflEdB+mwMWOXMicSgzPQIv+aSgEEhei0PzqmRaMcW7symZaNlar+omoTKKiU3vBavvMIKkDJWUmpLyrhIICKLTzui1iP6Vij5ZZnezKHFpmQW1g3hu8IDDq7bygg/xpZhmwurVjyvKJoW/PSiI9Z4nSwEHYLM4TXRX4+ieRcHI4SH/3zxtlGWqX3N1bdWGHsDQU+HPNGraEH/Tl88GwcOqYhuiZfJZZPDH8S7ojo+N7EPpqDsB3DbwiQDFHLV0pz7DyadELSsfFf8hMreBXN7cAgKZSKt5wDg0Qa04qL3PX0KTgOw/p4qNtq5RPWJVFwmtajoSM3Rm5qIaItdiDoWJ9LV5rXWRFP2eM75p/cqfJNtIqEBcWqVKtoDlxfzBF0zBTc3xh2eY1WxEj4CaEW66tUJPyB0OorztWpRwQHOlxUFkccrV+PZ12wYMnrTcs38YwHApwuXaMb/v5pUXE6JgYG0FGhpOWqvS5RDRykob/PEb/xJhwoBkJXIJyvOc5selRkuG1Xlfzssj7NFuATl76SkvzwmJb+f15TnFeT8B0b8qlP1oE51pohW/f6jflD5R199D2edb813BaUgfCZhmsRq2yAs27FUefc3d11heCujq2EviIqPRo0XGcFKrZY/boej0qk4tZVxmtSL0elXCqeR9vyQAAyf2SxOnr0+JwbdHXRijnwmK2SJWpDVcfnyIFhzFsrK9cyu6QhOB1GE5Lup5F1Jma8LGfwSiszCT9FQUsnhqJPxFvFo6E+emjfCZQCLhttZS08vmO+bctFU6r9VRllREGBqQUahnzJLYr9+/ni/nb+ert4+jW/Tx/n6cPD35Bpm3wi83wLscWPX/N5CrH5K8k0rSlGNEcizySC9Bh8F0/o+f+v4x56AmrgATKmGEB/DJDUP07GEAGSlXDCoyi57Fvb47vpPAzqFaoSDeqCJK0RD9SUveP5fnLHZ6qtYd35LNlxi2ITd+qw1NcFPUHBzdJHapJa3VIPh5VGq39EZs14bcgMI8GdfJMTINUsh+7MN1nh4wskT6m1CqMYr3/IY5iqhA5SNaIOCvVaPyNIZCZqc9i1779SMI7EkxSC/Y7d9nOx5m1pl75Uhr9V3FhMjeA9QlfYNU0PaIYUulq/f/KsfkuUdPwzml2Er9otzb8th4+4TN6L+TduCUpTmTB9owXdI1PMeO7wPccaRnzfc6x+RHl+4vc9x5pOWVEBTYZgiPLL51i1sDsaPw+patyRhNWHj/8A/lXdqLkWAAA=", "string": ""}, "headers": {"Server": "GitHub.com", "Date": "Mon, 18 Dec 2017 13:11:38 GMT", "Content-Type": "application/json; charset=utf-8", "Transfer-Encoding": "chunked", "Status": "200 OK", "X-RateLimit-Limit": "5000", "X-RateLimit-Remaining": "4997", "X-RateLimit-Reset": "1513606239", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP", "ETag": "W/\"e919a0ed725a72f0c5cf868c20d85e41\"", "Last-Modified": "Sat, 16 Dec 2017 00:02:09 GMT", "X-GitHub-Media-Type": "github.v3; param=drax-preview; format=json", "Access-Control-Expose-Headers": "ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval", "Access-Control-Allow-Origin": "*", "Content-Security-Policy": "default-src 'none'", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Content-Type-Options": "nosniff", "X-Frame-Options": "deny", "X-XSS-Protection": "1; mode=block", "X-Runtime-rack": "0.071218", "Content-Encoding": "gzip", "X-GitHub-Request-Id": "C470:17F6:3478BBD:5E4E2F2:5A37BE8A"}, "status": {"code": 200, "message": "OK"}, "url": "https://api.github.com/repos/github3py/fork_this"}, "recorded_at": "2017-12-18T13:11:38"}, {"request": {"body": {"encoding": "utf-8", "string": ""}, "headers": {"User-Agent": "github3.py/1.0.0a4", "Accept-Encoding": "gzip, deflate", "Accept": "application/vnd.github.v3.full+json", "Connection": "keep-alive", "Accept-Charset": "utf-8", "Content-Type": "application/json", "Authorization": "Basic <BASIC_AUTH>"}, "method": "GET", "uri": "https://api.github.com/repos/github3py/fork_this/teams?per_page=100"}, "response": {"body": {"encoding": "utf-8", "base64_string": "H4sIAAAAAAAAA62SS07DMBCGr4Jmnda0EdDmEj0AQpWbmGaEX/LYRajq3RkSJ6JSFgRlZ2v+h/1pXq9gpVFQweHTqkBQADZQbXb7/eOmANLpzDM3zBpFdUAf0VmobNK6AB/wIusvVtXakWo4IQXN1zZGT5UQ0uP6jLFNp3XtjIhKGhJ9AWuNMifuPf7ZI7Ljmg83DgnKO8LoAqo5SZ2N7V4Fg0Tdp0A2Bi3cihHMuwsfx9giPfDzDcb4G1NZls8vI6dRurqT3lGDn8J/Muva5kLrTMtQ66MmsflE7TS1Hmi/V9unHW/WdgLYoFqIVS6axyqblmA1RE2yyiv29g1XBrmmfQMAAA==", "string": ""}, "headers": {"Server": "GitHub.com", "Date": "Mon, 18 Dec 2017 13:11:38 GMT", "Content-Type": "application/json; charset=utf-8", "Transfer-Encoding": "chunked", "Status": "200 OK", "X-RateLimit-Limit": "5000", "X-RateLimit-Remaining": "4996", "X-RateLimit-Reset": "1513606239", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP", "ETag": "W/\"fff4c416127761f7aea1e4d2a9dc8994\"", "X-GitHub-Media-Type": "github.v3; param=full; format=json", "Access-Control-Expose-Headers": "ETag, Link, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval", "Access-Control-Allow-Origin": "*", "Content-Security-Policy": "default-src 'none'", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Content-Type-Options": "nosniff", "X-Frame-Options": "deny", "X-XSS-Protection": "1; mode=block", "X-Runtime-rack": "0.070885", "Content-Encoding": "gzip", "X-GitHub-Request-Id": "C470:17F6:3478BD8:5E4E31C:5A37BE8A"}, "status": {"code": 200, "message": "OK"}, "url": "https://api.github.com/repos/github3py/fork_this/teams?per_page=100"}, "recorded_at": "2017-12-18T13:11:38"}], "recorded_with": "betamax/0.8.0"}

tests/integration/test_repos_repo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,7 +1123,7 @@ def test_teams(self):
11231123
self.basic_login()
11241124
cassette_name = self.cassette_name('teams')
11251125
with self.recorder.use_cassette(cassette_name):
1126-
repository = self.gh.repository('github3py', 'github3.py')
1126+
repository = self.gh.repository('github3py', 'fork_this')
11271127
assert repository is not None
11281128
teams = list(repository.teams())
11291129

0 commit comments

Comments
 (0)
0