Skip to content

Commit 0ce8230

Browse files
committed
📼 Added missing cassettes for ls command
1 parent e7bf588 commit 0ce8230

File tree

2 files changed

+576
-0
lines changed

2 files changed

+576
-0
lines changed

tests/integration/cassettes/test_github_test_34_list__long.json

Lines changed: 401 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
{
2+
"http_interactions": [
3+
{
4+
"recorded_at": "2016-11-24T14:56:41",
5+
"request": {
6+
"body": {
7+
"encoding": "utf-8",
8+
"string": ""
9+
},
10+
"headers": {
11+
"Accept": "application/vnd.github.v3.full+json",
12+
"Accept-Charset": "utf-8",
13+
"Accept-Encoding": "identity",
14+
"Authorization": "token <PRIVATE_KEY_GITHUB>",
15+
"Connection": "keep-alive",
16+
"Content-Type": "application/json",
17+
"User-Agent": "github3.py/0.9.5"
18+
},
19+
"method": "GET",
20+
"uri": "https://api.github.com/user"
21+
},
22+
"response": {
23+
"body": {
24+
"encoding": "utf-8",
25+
"string": "{\"login\":\"<BITBUCKET_NAMESPACE>\",\"id\":254441,\"avatar_url\":\"https://avatars.githubusercontent.com/u/254441?v=3\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/<BITBUCKET_NAMESPACE>\",\"html_url\":\"https://github.com/<BITBUCKET_NAMESPACE>\",\"followers_url\":\"https://api.github.com/users/<BITBUCKET_NAMESPACE>/followers\",\"following_url\":\"https://api.github.com/users/<BITBUCKET_NAMESPACE>/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/<BITBUCKET_NAMESPACE>/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/<BITBUCKET_NAMESPACE>/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/<BITBUCKET_NAMESPACE>/subscriptions\",\"organizations_url\":\"https://api.github.com/users/<BITBUCKET_NAMESPACE>/orgs\",\"repos_url\":\"https://api.github.com/users/<BITBUCKET_NAMESPACE>/repos\",\"events_url\":\"https://api.github.com/users/<BITBUCKET_NAMESPACE>/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/<BITBUCKET_NAMESPACE>/received_events\",\"type\":\"User\",\"site_admin\":false,\"name\":\"<BITBUCKET_NAMESPACE>\",\"company\":null,\"blog\":\"http://<BITBUCKET_NAMESPACE>.got.nothing.to/blog/\",\"location\":\"Paris\",\"email\":null,\"hireable\":true,\"bio\":null,\"public_repos\":87,\"public_gists\":17,\"followers\":54,\"following\":15,\"created_at\":\"2010-04-27T14:04:09Z\",\"updated_at\":\"2016-09-03T19:19:47Z\"}"
26+
},
27+
"headers": {
28+
"Access-Control-Allow-Origin": "*",
29+
"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",
30+
"Cache-Control": "private, max-age=60, s-maxage=60",
31+
"Content-Length": "1118",
32+
"Content-Security-Policy": "default-src 'none'",
33+
"Content-Type": "application/json; charset=utf-8",
34+
"Date": "Thu, 24 Nov 2016 14:56:41 GMT",
35+
"ETag": "\"552dda7fe01396d75e16d9003f4fd8d7\"",
36+
"Last-Modified": "Sat, 03 Sep 2016 19:19:47 GMT",
37+
"Server": "GitHub.com",
38+
"Status": "200 OK",
39+
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
40+
"Vary": "Accept, Authorization, Cookie, X-GitHub-OTP",
41+
"X-Accepted-OAuth-Scopes": "",
42+
"X-Content-Type-Options": "nosniff",
43+
"X-Frame-Options": "deny",
44+
"X-GitHub-Media-Type": "github.v3; param=full; format=json",
45+
"X-GitHub-Request-Id": "4EC11365:62A2:127D153F:5836FFA8",
46+
"X-OAuth-Scopes": "repo, delete_repo, gist",
47+
"X-RateLimit-Limit": "5000",
48+
"X-RateLimit-Remaining": "4999",
49+
"X-RateLimit-Reset": "1480003001",
50+
"X-Served-By": "a474937f3b2fa272558fa6dc951018ad",
51+
"X-XSS-Protection": "1; mode=block"
52+
},
53+
"status": {
54+
"code": 200,
55+
"message": "OK"
56+
},
57+
"url": "https://api.github.com/user"
58+
}
59+
},
60+
{
61+
"recorded_at": "2016-11-24T14:56:41",
62+
"request": {
63+
"body": {
64+
"encoding": "utf-8",
65+
"string": ""
66+
},
67+
"headers": {
68+
"Accept": "application/vnd.github.v3.full+json",
69+
"Accept-Charset": "utf-8",
70+
"Accept-Encoding": "identity",
71+
"Authorization": "token <PRIVATE_KEY_GITHUB>",
72+
"Connection": "keep-alive",
73+
"Content-Type": "application/json",
74+
"User-Agent": "github3.py/0.9.5"
75+
},
76+
"method": "GET",
77+
"uri": "https://api.github.com/users/git-repo-test"
78+
},
79+
"response": {
80+
"body": {
81+
"encoding": "utf-8",
82+
"string": "{\"login\":\"git-repo-test\",\"id\":18168026,\"avatar_url\":\"https://avatars.githubusercontent.com/u/18168026?v=3\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/git-repo-test\",\"html_url\":\"https://github.com/git-repo-test\",\"followers_url\":\"https://api.github.com/users/git-repo-test/followers\",\"following_url\":\"https://api.github.com/users/git-repo-test/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/git-repo-test/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/git-repo-test/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/git-repo-test/subscriptions\",\"organizations_url\":\"https://api.github.com/users/git-repo-test/orgs\",\"repos_url\":\"https://api.github.com/users/git-repo-test/repos\",\"events_url\":\"https://api.github.com/users/git-repo-test/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/git-repo-test/received_events\",\"type\":\"User\",\"site_admin\":false,\"name\":null,\"company\":null,\"blog\":null,\"location\":null,\"email\":null,\"hireable\":null,\"bio\":null,\"public_repos\":1,\"public_gists\":0,\"followers\":0,\"following\":0,\"created_at\":\"2016-03-30T13:10:58Z\",\"updated_at\":\"2016-03-30T16:33:07Z\"}"
83+
},
84+
"headers": {
85+
"Access-Control-Allow-Origin": "*",
86+
"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",
87+
"Cache-Control": "private, max-age=60, s-maxage=60",
88+
"Content-Length": "1163",
89+
"Content-Security-Policy": "default-src 'none'",
90+
"Content-Type": "application/json; charset=utf-8",
91+
"Date": "Thu, 24 Nov 2016 14:56:41 GMT",
92+
"ETag": "\"bad372d64667f11e3ab6d169abf667a2\"",
93+
"Last-Modified": "Wed, 30 Mar 2016 16:33:07 GMT",
94+
"Server": "GitHub.com",
95+
"Status": "200 OK",
96+
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
97+
"Vary": "Accept, Authorization, Cookie, X-GitHub-OTP",
98+
"X-Accepted-OAuth-Scopes": "",
99+
"X-Content-Type-Options": "nosniff",
100+
"X-Frame-Options": "deny",
101+
"X-GitHub-Media-Type": "github.v3; param=full; format=json",
102+
"X-GitHub-Request-Id": "4EC11365:62A2:127D155B:5836FFA9",
103+
"X-OAuth-Scopes": "repo, delete_repo, gist",
104+
"X-RateLimit-Limit": "5000",
105+
"X-RateLimit-Remaining": "4998",
106+
"X-RateLimit-Reset": "1480003001",
107+
"X-Served-By": "cee4c0729c8e9147e7abcb45b9d69689",
108+
"X-XSS-Protection": "1; mode=block"
109+
},
110+
"status": {
111+
"code": 200,
112+
"message": "OK"
113+
},
114+
"url": "https://api.github.com/users/git-repo-test"
115+
}
116+
},
117+
{
118+
"recorded_at": "2016-11-24T14:56:41",
119+
"request": {
120+
"body": {
121+
"encoding": "utf-8",
122+
"string": ""
123+
},
124+
"headers": {
125+
"Accept": "application/vnd.github.v3.full+json",
126+
"Accept-Charset": "utf-8",
127+
"Accept-Encoding": "identity",
128+
"Authorization": "token <PRIVATE_KEY_GITHUB>",
129+
"Connection": "keep-alive",
130+
"Content-Type": "application/json",
131+
"User-Agent": "github3.py/0.9.5"
132+
},
133+
"method": "GET",
134+
"uri": "https://api.github.com/users/git-repo-test/repos?per_page=100"
135+
},
136+
"response": {
137+
"body": {
138+
"encoding": "utf-8",
139+
"string": "[{\"id\":55065616,\"name\":\"git-repo\",\"full_name\":\"git-repo-test/git-repo\",\"owner\":{\"login\":\"git-repo-test\",\"id\":18168026,\"avatar_url\":\"https://avatars.githubusercontent.com/u/18168026?v=3\",\"gravatar_id\":\"\",\"url\":\"https://api.github.com/users/git-repo-test\",\"html_url\":\"https://github.com/git-repo-test\",\"followers_url\":\"https://api.github.com/users/git-repo-test/followers\",\"following_url\":\"https://api.github.com/users/git-repo-test/following{/other_user}\",\"gists_url\":\"https://api.github.com/users/git-repo-test/gists{/gist_id}\",\"starred_url\":\"https://api.github.com/users/git-repo-test/starred{/owner}{/repo}\",\"subscriptions_url\":\"https://api.github.com/users/git-repo-test/subscriptions\",\"organizations_url\":\"https://api.github.com/users/git-repo-test/orgs\",\"repos_url\":\"https://api.github.com/users/git-repo-test/repos\",\"events_url\":\"https://api.github.com/users/git-repo-test/events{/privacy}\",\"received_events_url\":\"https://api.github.com/users/git-repo-test/received_events\",\"type\":\"User\",\"site_admin\":false},\"private\":false,\"html_url\":\"https://github.com/git-repo-test/git-repo\",\"description\":null,\"fork\":true,\"url\":\"https://api.github.com/repos/git-repo-test/git-repo\",\"forks_url\":\"https://api.github.com/repos/git-repo-test/git-repo/forks\",\"keys_url\":\"https://api.github.com/repos/git-repo-test/git-repo/keys{/key_id}\",\"collaborators_url\":\"https://api.github.com/repos/git-repo-test/git-repo/collaborators{/collaborator}\",\"teams_url\":\"https://api.github.com/repos/git-repo-test/git-repo/teams\",\"hooks_url\":\"https://api.github.com/repos/git-repo-test/git-repo/hooks\",\"issue_events_url\":\"https://api.github.com/repos/git-repo-test/git-repo/issues/events{/number}\",\"events_url\":\"https://api.github.com/repos/git-repo-test/git-repo/events\",\"assignees_url\":\"https://api.github.com/repos/git-repo-test/git-repo/assignees{/user}\",\"branches_url\":\"https://api.github.com/repos/git-repo-test/git-repo/branches{/branch}\",\"tags_url\":\"https://api.github.com/repos/git-repo-test/git-repo/tags\",\"blobs_url\":\"https://api.github.com/repos/git-repo-test/git-repo/git/blobs{/sha}\",\"git_tags_url\":\"https://api.github.com/repos/git-repo-test/git-repo/git/tags{/sha}\",\"git_refs_url\":\"https://api.github.com/repos/git-repo-test/git-repo/git/refs{/sha}\",\"trees_url\":\"https://api.github.com/repos/git-repo-test/git-repo/git/trees{/sha}\",\"statuses_url\":\"https://api.github.com/repos/git-repo-test/git-repo/statuses/{sha}\",\"languages_url\":\"https://api.github.com/repos/git-repo-test/git-repo/languages\",\"stargazers_url\":\"https://api.github.com/repos/git-repo-test/git-repo/stargazers\",\"contributors_url\":\"https://api.github.com/repos/git-repo-test/git-repo/contributors\",\"subscribers_url\":\"https://api.github.com/repos/git-repo-test/git-repo/subscribers\",\"subscription_url\":\"https://api.github.com/repos/git-repo-test/git-repo/subscription\",\"commits_url\":\"https://api.github.com/repos/git-repo-test/git-repo/commits{/sha}\",\"git_commits_url\":\"https://api.github.com/repos/git-repo-test/git-repo/git/commits{/sha}\",\"comments_url\":\"https://api.github.com/repos/git-repo-test/git-repo/comments{/number}\",\"issue_comment_url\":\"https://api.github.com/repos/git-repo-test/git-repo/issues/comments{/number}\",\"contents_url\":\"https://api.github.com/repos/git-repo-test/git-repo/contents/{+path}\",\"compare_url\":\"https://api.github.com/repos/git-repo-test/git-repo/compare/{base}...{head}\",\"merges_url\":\"https://api.github.com/repos/git-repo-test/git-repo/merges\",\"archive_url\":\"https://api.github.com/repos/git-repo-test/git-repo/{archive_format}{/ref}\",\"downloads_url\":\"https://api.github.com/repos/git-repo-test/git-repo/downloads\",\"issues_url\":\"https://api.github.com/repos/git-repo-test/git-repo/issues{/number}\",\"pulls_url\":\"https://api.github.com/repos/git-repo-test/git-repo/pulls{/number}\",\"milestones_url\":\"https://api.github.com/repos/git-repo-test/git-repo/milestones{/number}\",\"notifications_url\":\"https://api.github.com/repos/git-repo-test/git-repo/notifications{?since,all,participating}\",\"labels_url\":\"https://api.github.com/repos/git-repo-test/git-repo/labels{/name}\",\"releases_url\":\"https://api.github.com/repos/git-repo-test/git-repo/releases{/id}\",\"deployments_url\":\"https://api.github.com/repos/git-repo-test/git-repo/deployments\",\"created_at\":\"2016-03-30T13:32:29Z\",\"updated_at\":\"2016-03-30T13:32:31Z\",\"pushed_at\":\"2016-03-30T13:00:57Z\",\"git_url\":\"git://github.com/git-repo-test/git-repo.git\",\"ssh_url\":\"[email protected]:git-repo-test/git-repo.git\",\"clone_url\":\"https://github.com/git-repo-test/git-repo.git\",\"svn_url\":\"https://github.com/git-repo-test/git-repo\",\"homepage\":\"\",\"size\":151,\"stargazers_count\":0,\"watchers_count\":0,\"language\":\"Python\",\"has_issues\":false,\"has_downloads\":true,\"has_wiki\":true,\"has_pages\":false,\"forks_count\":0,\"mirror_url\":null,\"open_issues_count\":0,\"forks\":0,\"open_issues\":0,\"watchers\":0,\"default_branch\":\"master\",\"permissions\":{\"admin\":false,\"push\":false,\"pull\":true}}]"
140+
},
141+
"headers": {
142+
"Access-Control-Allow-Origin": "*",
143+
"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",
144+
"Cache-Control": "private, max-age=60, s-maxage=60",
145+
"Content-Length": "4887",
146+
"Content-Security-Policy": "default-src 'none'",
147+
"Content-Type": "application/json; charset=utf-8",
148+
"Date": "Thu, 24 Nov 2016 14:56:41 GMT",
149+
"ETag": "\"abf177acf9f66fdb027de11cb7b5dd86\"",
150+
"Server": "GitHub.com",
151+
"Status": "200 OK",
152+
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
153+
"Vary": "Accept, Authorization, Cookie, X-GitHub-OTP",
154+
"X-Accepted-OAuth-Scopes": "",
155+
"X-Content-Type-Options": "nosniff",
156+
"X-Frame-Options": "deny",
157+
"X-GitHub-Media-Type": "github.v3; param=full; format=json",
158+
"X-GitHub-Request-Id": "4EC11365:62A2:127D1574:5836FFA9",
159+
"X-OAuth-Scopes": "repo, delete_repo, gist",
160+
"X-RateLimit-Limit": "5000",
161+
"X-RateLimit-Remaining": "4997",
162+
"X-RateLimit-Reset": "1480003001",
163+
"X-Served-By": "474556b853193c38f1b14328ce2d1b7d",
164+
"X-XSS-Protection": "1; mode=block"
165+
},
166+
"status": {
167+
"code": 200,
168+
"message": "OK"
169+
},
170+
"url": "https://api.github.com/users/git-repo-test/repos?per_page=100"
171+
}
172+
}
173+
],
174+
"recorded_with": "betamax/0.5.1"
175+
}

0 commit comments

Comments
 (0)