Skip to content

Commit bb22d0c

Browse files
committed
Updates the gitlab test with proper data
1 parent c86b1b5 commit bb22d0c

File tree

1 file changed

+81
-19
lines changed

1 file changed

+81
-19
lines changed
Lines changed: 81 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"http_interactions": [
33
{
4-
"recorded_at": "2017-08-06T18:57:42",
4+
"recorded_at": "2017-11-18T19:11:13",
55
"request": {
66
"body": {
77
"encoding": "utf-8",
@@ -12,28 +12,34 @@
1212
"Accept-Encoding": "identity",
1313
"Connection": "keep-alive",
1414
"PRIVATE-TOKEN": "<PRIVATE_KEY_GITLAB>",
15-
"User-Agent": "python-requests/2.18.1"
15+
"User-Agent": "python-requests/2.18.4"
1616
},
1717
"method": "GET",
1818
"uri": "https://gitlab.com/api/v3/user"
1919
},
2020
"response": {
2121
"body": {
2222
"encoding": null,
23-
"string": "{\"name\":\"Amanda Cameron\",\"username\":\"AmandaCameron\",\"id\":591747,\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/6977e7a51b06decd9b2ae6be9f633a02?s=80&d=identicon\",\"web_url\":\"https://gitlab.com/AmandaCameron\",\"created_at\":\"2016-06-23T16:54:06.799Z\",\"bio\":null,\"location\":null,\"skype\":\"\",\"linkedin\":\"\",\"twitter\":\"\",\"website_url\":\"\",\"organization\":null,\"last_sign_in_at\":\"2017-06-22T21:18:04.190Z\",\"confirmed_at\":\"2016-06-23T16:54:06.710Z\",\"last_activity_on\":\"2017-05-24\",\"email\":\"[email protected].net\",\"color_scheme_id\":1,\"projects_limit\":100000,\"current_sign_in_at\":\"2017-08-04T19:08:12.530Z\",\"identities\":[{\"provider\":\"github\",\"extern_uid\":\"114638\"}],\"can_create_group\":true,\"can_create_project\":true,\"two_factor_enabled\":false,\"external\":false,\"shared_runners_minutes_limit\":null}"
23+
"string": "{\"id\":459552,\"name\":\"Guyzmo\",\"username\":\"<GITLAB_NAMESPACE>\",\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/917dc55c63895af9953df7d798cdd5f8?s=80&d=identicon\",\"web_url\":\"https://gitlab.com/<GITLAB_NAMESPACE>\",\"created_at\":\"2016-03-21T12:52:59.859Z\",\"bio\":\": :(){ :|:& };:\",\"location\":\"Earth, Solar system, Milkyway, Universe\",\"skype\":\"\",\"linkedin\":\"\",\"twitter\":\"https://twitter.com/<GITLAB_NAMESPACE>\",\"website_url\":\"http://i.got.nothing.to/blog\",\"organization\":\"\",\"last_sign_in_at\":\"2017-11-17T10:36:04.133Z\",\"confirmed_at\":\"2016-03-21T13:48:05.234Z\",\"last_activity_on\":\"2017-11-17\",\"email\":\"<GITLAB_NAMESPACE>@m0g.net\",\"theme_id\":2,\"color_scheme_id\":2,\"projects_limit\":100000,\"current_sign_in_at\":\"2017-11-18T18:16:09.589Z\",\"identities\":[],\"can_create_group\":true,\"can_create_project\":true,\"two_factor_enabled\":false,\"external\":false,\"shared_runners_minutes_limit\":2000}"
2424
},
2525
"headers": {
2626
"Cache-Control": "max-age=0, private, must-revalidate",
27-
"Content-Length": "801",
27+
"Content-Length": "850",
2828
"Content-Type": "application/json",
29-
"Date": "Sun, 06 Aug 2017 18:56:52 GMT",
30-
"Etag": "W/\"90fe2c43890de56f17c2e1625d35b52c\"",
29+
"Date": "Sat, 18 Nov 2017 19:11:13 GMT",
30+
"Etag": "W/\"dd4b3d4e859a562f3cd15d5e8ff4a2ac\"",
31+
"RateLimit-Limit": "600",
32+
"RateLimit-Observed": "1",
33+
"RateLimit-Remaining": "599",
34+
"RateLimit-Reset": "1511032333",
35+
"RateLimit-ResetTime": "Sun, 18 Nov 2017 19:12:13 GMT",
3136
"Server": "nginx",
3237
"Strict-Transport-Security": "max-age=31536000",
3338
"Vary": "Origin",
39+
"X-Content-Type-Options": "nosniff",
3440
"X-Frame-Options": "SAMEORIGIN",
35-
"X-Request-Id": "a2bc7cc9-d368-49eb-8ac2-64df01b8f2b0",
36-
"X-Runtime": "0.133790"
41+
"X-Request-Id": "63043c6e-0136-4935-9ccf-bc0f3ebad1e7",
42+
"X-Runtime": "0.142310"
3743
},
3844
"status": {
3945
"code": 200,
@@ -43,7 +49,7 @@
4349
}
4450
},
4551
{
46-
"recorded_at": "2017-08-06T18:57:42",
52+
"recorded_at": "2017-11-18T19:11:13",
4753
"request": {
4854
"body": {
4955
"encoding": "utf-8",
@@ -54,34 +60,90 @@
5460
"Accept-Encoding": "identity",
5561
"Connection": "keep-alive",
5662
"PRIVATE-TOKEN": "<PRIVATE_KEY_GITLAB>",
57-
"User-Agent": "python-requests/2.18.1"
63+
"User-Agent": "python-requests/2.18.4"
5864
},
5965
"method": "GET",
6066
"uri": "https://gitlab.com/api/v3/projects/git-repo-test%2Fsubgroup%2Ftest-repo"
6167
},
6268
"response": {
6369
"body": {
6470
"encoding": null,
65-
"string": "{\"message\":\"404 Project Not Found\"}"
71+
"string": "{\"id\":4685682,\"description\":\"This is a test repository for testing the subgroup feature.\",\"default_branch\":\"master\",\"tag_list\":[],\"public\":true,\"archived\":false,\"visibility_level\":20,\"ssh_url_to_repo\":\"[email protected]:git-repo-test/subgroup/test-repo.git\",\"http_url_to_repo\":\"https://gitlab.com/git-repo-test/subgroup/test-repo.git\",\"web_url\":\"https://gitlab.com/git-repo-test/subgroup/test-repo\",\"name\":\"test-repo\",\"name_with_namespace\":\"git-repo-test / This is a test subgroup. / test-repo\",\"path\":\"test-repo\",\"path_with_namespace\":\"git-repo-test/subgroup/test-repo\",\"resolve_outdated_diff_discussions\":false,\"container_registry_enabled\":true,\"issues_enabled\":true,\"merge_requests_enabled\":true,\"wiki_enabled\":true,\"builds_enabled\":true,\"snippets_enabled\":true,\"created_at\":\"2017-11-18T18:31:01.883Z\",\"last_activity_at\":\"2017-11-18T18:31:01.883Z\",\"shared_runners_enabled\":true,\"lfs_enabled\":true,\"creator_id\":459552,\"namespace\":{\"id\":2206971,\"name\":\"This is a test subgroup.\",\"path\":\"subgroup\",\"kind\":\"group\",\"full_path\":\"git-repo-test/subgroup\",\"parent_id\":938543,\"members_count_with_descendants\":1,\"plan\":null},\"avatar_url\":null,\"star_count\":0,\"forks_count\":0,\"open_issues_count\":0,\"runners_token\":\"Rxvwns7uBG-evsLy7Ykq\",\"public_builds\":true,\"shared_with_groups\":[],\"only_allow_merge_if_build_succeeds\":false,\"request_access_enabled\":false,\"only_allow_merge_if_all_discussions_are_resolved\":false,\"approvals_before_merge\":0,\"permissions\":{\"project_access\":null,\"group_access\":{\"access_level\":50,\"notification_level\":3}}}"
6672
},
6773
"headers": {
68-
"Cache-Control": "no-cache",
69-
"Content-Length": "35",
74+
"Cache-Control": "max-age=0, private, must-revalidate",
75+
"Content-Length": "1523",
7076
"Content-Type": "application/json",
71-
"Date": "Sun, 06 Aug 2017 18:56:52 GMT",
77+
"Date": "Sat, 18 Nov 2017 19:11:13 GMT",
78+
"Etag": "W/\"2fc35fbadcaa77910f0ee77ae6c20588\"",
79+
"RateLimit-Limit": "600",
80+
"RateLimit-Observed": "2",
81+
"RateLimit-Remaining": "598",
82+
"RateLimit-Reset": "1511032333",
83+
"RateLimit-ResetTime": "Sun, 18 Nov 2017 19:12:13 GMT",
7284
"Server": "nginx",
85+
"Strict-Transport-Security": "max-age=31536000",
7386
"Vary": "Origin",
87+
"X-Content-Type-Options": "nosniff",
7488
"X-Frame-Options": "SAMEORIGIN",
75-
"X-Request-Id": "b7e7823c-3bcf-4f8c-8f23-d466333d9974",
76-
"X-Runtime": "0.051197"
89+
"X-Request-Id": "8b8f1c6d-9baa-4a55-a2f7-73802ef33fcb",
90+
"X-Runtime": "0.161995"
7791
},
7892
"status": {
79-
"code": 404,
80-
"message": "Not Found"
93+
"code": 200,
94+
"message": "OK"
8195
},
8296
"url": "https://gitlab.com/api/v3/projects/git-repo-test%2Fsubgroup%2Ftest-repo"
8397
}
98+
},
99+
{
100+
"recorded_at": "2017-11-18T19:11:14",
101+
"request": {
102+
"body": {
103+
"encoding": "utf-8",
104+
"string": ""
105+
},
106+
"headers": {
107+
"Accept": "*/*",
108+
"Accept-Encoding": "identity",
109+
"Connection": "keep-alive",
110+
"PRIVATE-TOKEN": "<PRIVATE_KEY_GITLAB>",
111+
"User-Agent": "python-requests/2.18.4"
112+
},
113+
"method": "GET",
114+
"uri": "https://gitlab.com/api/v3/projects/4685682/repository/tree"
115+
},
116+
"response": {
117+
"body": {
118+
"encoding": null,
119+
"string": "[{\"id\":\"655302fb876ad5f8c8e700618cd4f4e9adc8830a\",\"name\":\"README.md\",\"type\":\"blob\",\"path\":\"README.md\",\"mode\":\"100644\"}]"
120+
},
121+
"headers": {
122+
"Cache-Control": "max-age=0, private, must-revalidate",
123+
"Content-Length": "119",
124+
"Content-Type": "application/json",
125+
"Date": "Sat, 18 Nov 2017 19:11:13 GMT",
126+
"Etag": "W/\"ba0cb476058de54a838496057159282b\"",
127+
"RateLimit-Limit": "600",
128+
"RateLimit-Observed": "3",
129+
"RateLimit-Remaining": "597",
130+
"RateLimit-Reset": "1511032333",
131+
"RateLimit-ResetTime": "Sun, 18 Nov 2017 19:12:13 GMT",
132+
"Server": "nginx",
133+
"Strict-Transport-Security": "max-age=31536000",
134+
"Vary": "Origin",
135+
"X-Content-Type-Options": "nosniff",
136+
"X-Frame-Options": "SAMEORIGIN",
137+
"X-Request-Id": "0ffba200-ccb7-4578-ae68-c53cd57aa6ef",
138+
"X-Runtime": "0.134270"
139+
},
140+
"status": {
141+
"code": 200,
142+
"message": "OK"
143+
},
144+
"url": "https://gitlab.com/api/v3/projects/4685682/repository/tree"
145+
}
84146
}
85147
],
86148
"recorded_with": "betamax/0.5.1"
87-
}
149+
}

0 commit comments

Comments
 (0)