Skip to content

Commit b8ce99b

Browse files
committed
recreate gitbucket cassettes again. change "user" to "git-repo-user"
1 parent b63d440 commit b8ce99b

File tree

33 files changed

+257
-257
lines changed

33 files changed

+257
-257
lines changed

tests/integration/cassettes/test_gitbucket_test_00_fork.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"http_interactions": [
33
{
4-
"recorded_at": "2017-04-30T17:31:07",
4+
"recorded_at": "2017-04-30T17:42:17",
55
"request": {
66
"body": {
77
"encoding": "utf-8",
@@ -17,30 +17,30 @@
1717
"User-Agent": "github3.py/0.9.5"
1818
},
1919
"method": "GET",
20-
"uri": "http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>"
20+
"uri": "http://localhost:8080/api/v3/user"
2121
},
2222
"response": {
2323
"body": {
2424
"encoding": "utf-8",
25-
"string": "{\"login\":\"<GITBUCKET_NAMESPACE>\",\"email\":\"<GITBUCKET_NAMESPACE>@localhost\",\"type\":\"User\",\"site_admin\":false,\"created_at\":\"2017-04-30T17:30:44Z\",\"url\":\"http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>s/<GITBUCKET_NAMESPACE>\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>\",\"avatar_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/_avatar\"}"
25+
"string": "{\"login\":\"<GITBUCKET_NAMESPACE>\",\"email\":\"user@localhost\",\"type\":\"User\",\"site_admin\":false,\"created_at\":\"2017-04-30T17:39:36Z\",\"url\":\"http://localhost:8080/api/v3/users/<GITBUCKET_NAMESPACE>\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>\",\"avatar_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/_avatar\"}"
2626
},
2727
"headers": {
28-
"Content-Length": "248",
28+
"Content-Length": "284",
2929
"Content-Type": "application/json;charset=utf-8",
30-
"Date": "Sun, 30 Apr 2017 17:31:07 GMT",
30+
"Date": "Sun, 30 Apr 2017 17:42:17 GMT",
3131
"Expires": "Thu, 01 Jan 1970 00:00:00 GMT",
3232
"Server": "Jetty(9.3.z-SNAPSHOT)",
33-
"Set-Cookie": "JSESSIONID=1dd4251vplb7xqulhumautyo;Path=/;HttpOnly"
33+
"Set-Cookie": "JSESSIONID=odn4jua2ecnf5isyma6dbo21;Path=/;HttpOnly"
3434
},
3535
"status": {
3636
"code": 200,
3737
"message": "OK"
3838
},
39-
"url": "http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>"
39+
"url": "http://localhost:8080/api/v3/user"
4040
}
4141
},
4242
{
43-
"recorded_at": "2017-04-30T17:31:07",
43+
"recorded_at": "2017-04-30T17:42:17",
4444
"request": {
4545
"body": {
4646
"encoding": "utf-8",
@@ -53,7 +53,7 @@
5353
"Authorization": "token <PRIVATE_KEY_GITBUCKET>",
5454
"Connection": "keep-alive",
5555
"Content-Type": "application/json",
56-
"Cookie": "JSESSIONID=1dd4251vplb7xqulhumautyo",
56+
"Cookie": "JSESSIONID=odn4jua2ecnf5isyma6dbo21",
5757
"User-Agent": "github3.py/0.9.5"
5858
},
5959
"method": "GET",
@@ -62,12 +62,12 @@
6262
"response": {
6363
"body": {
6464
"encoding": "utf-8",
65-
"string": "{\"name\":\"repo\",\"full_name\":\"root/repo\",\"description\":\"\",\"watchers\":0,\"forks\":0,\"private\":false,\"default_branch\":\"master\",\"owner\":{\"login\":\"root\",\"email\":\"root@localhost\",\"type\":\"User\",\"site_admin\":true,\"created_at\":\"2017-04-30T17:30:37Z\",\"url\":\"http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>s/root\",\"html_url\":\"http://localhost:8080/root\",\"avatar_url\":\"http://localhost:8080/root/_avatar\"},\"forks_count\":0,\"watchers_count\":0,\"url\":\"http://localhost:8080/api/v3/repos/root/repo\",\"http_url\":\"http://localhost:8080/git/root/repo.git\",\"clone_url\":\"http://localhost:8080/git/root/repo.git\",\"html_url\":\"http://localhost:8080/root/repo\"}"
65+
"string": "{\"name\":\"repo\",\"full_name\":\"root/repo\",\"description\":\"\",\"watchers\":0,\"forks\":0,\"private\":false,\"default_branch\":\"master\",\"owner\":{\"login\":\"root\",\"email\":\"root@localhost\",\"type\":\"User\",\"site_admin\":true,\"created_at\":\"2017-04-30T17:39:28Z\",\"url\":\"http://localhost:8080/api/v3/users/root\",\"html_url\":\"http://localhost:8080/root\",\"avatar_url\":\"http://localhost:8080/root/_avatar\"},\"forks_count\":0,\"watchers_count\":0,\"url\":\"http://localhost:8080/api/v3/repos/root/repo\",\"http_url\":\"http://localhost:8080/git/root/repo.git\",\"clone_url\":\"http://localhost:8080/git/root/repo.git\",\"html_url\":\"http://localhost:8080/root/repo\"}"
6666
},
6767
"headers": {
6868
"Content-Length": "617",
6969
"Content-Type": "application/json;charset=utf-8",
70-
"Date": "Sun, 30 Apr 2017 17:31:07 GMT",
70+
"Date": "Sun, 30 Apr 2017 17:42:17 GMT",
7171
"Server": "Jetty(9.3.z-SNAPSHOT)"
7272
},
7373
"status": {
@@ -78,7 +78,7 @@
7878
}
7979
},
8080
{
81-
"recorded_at": "2017-04-30T17:31:14",
81+
"recorded_at": "2017-04-30T17:42:24",
8282
"request": {
8383
"body": {
8484
"encoding": "utf-8",
@@ -92,7 +92,7 @@
9292
"Connection": "keep-alive",
9393
"Content-Length": "0",
9494
"Content-Type": "application/json",
95-
"Cookie": "JSESSIONID=1dd4251vplb7xqulhumautyo",
95+
"Cookie": "JSESSIONID=odn4jua2ecnf5isyma6dbo21",
9696
"User-Agent": "github3.py/0.9.5"
9797
},
9898
"method": "POST",
@@ -105,7 +105,7 @@
105105
},
106106
"headers": {
107107
"Content-Length": "0",
108-
"Date": "Sun, 30 Apr 2017 17:31:07 GMT",
108+
"Date": "Sun, 30 Apr 2017 17:42:17 GMT",
109109
"Server": "Jetty(9.3.z-SNAPSHOT)"
110110
},
111111
"status": {

tests/integration/cassettes/test_gitbucket_test_01_create__already_exists.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"http_interactions": [
33
{
4-
"recorded_at": "2017-04-30T17:31:19",
4+
"recorded_at": "2017-04-30T17:42:29",
55
"request": {
66
"body": {
77
"encoding": "utf-8",
@@ -17,34 +17,34 @@
1717
"User-Agent": "github3.py/0.9.5"
1818
},
1919
"method": "GET",
20-
"uri": "http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>"
20+
"uri": "http://localhost:8080/api/v3/user"
2121
},
2222
"response": {
2323
"body": {
2424
"encoding": "utf-8",
25-
"string": "{\"login\":\"<GITBUCKET_NAMESPACE>\",\"email\":\"<GITBUCKET_NAMESPACE>@localhost\",\"type\":\"User\",\"site_admin\":false,\"created_at\":\"2017-04-30T17:30:44Z\",\"url\":\"http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>s/<GITBUCKET_NAMESPACE>\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>\",\"avatar_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/_avatar\"}"
25+
"string": "{\"login\":\"<GITBUCKET_NAMESPACE>\",\"email\":\"user@localhost\",\"type\":\"User\",\"site_admin\":false,\"created_at\":\"2017-04-30T17:39:36Z\",\"url\":\"http://localhost:8080/api/v3/users/<GITBUCKET_NAMESPACE>\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>\",\"avatar_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/_avatar\"}"
2626
},
2727
"headers": {
28-
"Content-Length": "248",
28+
"Content-Length": "284",
2929
"Content-Type": "application/json;charset=utf-8",
30-
"Date": "Sun, 30 Apr 2017 17:31:19 GMT",
30+
"Date": "Sun, 30 Apr 2017 17:42:29 GMT",
3131
"Expires": "Thu, 01 Jan 1970 00:00:00 GMT",
3232
"Server": "Jetty(9.3.z-SNAPSHOT)",
33-
"Set-Cookie": "JSESSIONID=1t0htrr6dcqy7zaocy5rln907;Path=/;HttpOnly"
33+
"Set-Cookie": "JSESSIONID=v1gat922yeob3op8z3zdmrty;Path=/;HttpOnly"
3434
},
3535
"status": {
3636
"code": 200,
3737
"message": "OK"
3838
},
39-
"url": "http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>"
39+
"url": "http://localhost:8080/api/v3/user"
4040
}
4141
},
4242
{
43-
"recorded_at": "2017-04-30T17:31:19",
43+
"recorded_at": "2017-04-30T17:42:29",
4444
"request": {
4545
"body": {
4646
"encoding": "utf-8",
47-
"string": "{\"private\": false, \"has_downloads\": true, \"homepage\": \"\", \"name\": \"git-repo\", \"has_issues\": true, \"gitignore_template\": \"\", \"has_wiki\": true, \"description\": \"\", \"auto_init\": false}"
47+
"string": "{\"homepage\": \"\", \"private\": false, \"has_wiki\": true, \"has_downloads\": true, \"name\": \"git-repo\", \"description\": \"\", \"gitignore_template\": \"\", \"has_issues\": true, \"auto_init\": false}"
4848
},
4949
"headers": {
5050
"Accept": "application/vnd.github.v3.full+json",
@@ -54,32 +54,32 @@
5454
"Connection": "keep-alive",
5555
"Content-Length": "180",
5656
"Content-Type": "application/json",
57-
"Cookie": "JSESSIONID=1t0htrr6dcqy7zaocy5rln907",
57+
"Cookie": "JSESSIONID=v1gat922yeob3op8z3zdmrty",
5858
"User-Agent": "github3.py/0.9.5"
5959
},
6060
"method": "POST",
61-
"uri": "http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>/repos"
61+
"uri": "http://localhost:8080/api/v3/user/repos"
6262
},
6363
"response": {
6464
"body": {
6565
"encoding": "utf-8",
66-
"string": "{\"name\":\"git-repo\",\"full_name\":\"<GITBUCKET_NAMESPACE>/git-repo\",\"description\":\"\",\"watchers\":0,\"forks\":0,\"private\":false,\"default_branch\":\"master\",\"owner\":{\"login\":\"<GITBUCKET_NAMESPACE>\",\"email\":\"<GITBUCKET_NAMESPACE>@localhost\",\"type\":\"User\",\"site_admin\":false,\"created_at\":\"2017-04-30T17:30:44Z\",\"url\":\"http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>s/<GITBUCKET_NAMESPACE>\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>\",\"avatar_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/_avatar\"},\"forks_count\":0,\"watchers_count\":0,\"url\":\"http://localhost:8080/api/v3/repos/<GITBUCKET_NAMESPACE>/git-repo\",\"http_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"clone_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/git-repo\"}"
66+
"string": "{\"name\":\"git-repo\",\"full_name\":\"<GITBUCKET_NAMESPACE>/git-repo\",\"description\":\"\",\"watchers\":0,\"forks\":0,\"private\":false,\"default_branch\":\"master\",\"owner\":{\"login\":\"<GITBUCKET_NAMESPACE>\",\"email\":\"user@localhost\",\"type\":\"User\",\"site_admin\":false,\"created_at\":\"2017-04-30T17:39:36Z\",\"url\":\"http://localhost:8080/api/v3/users/<GITBUCKET_NAMESPACE>\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>\",\"avatar_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/_avatar\"},\"forks_count\":0,\"watchers_count\":0,\"url\":\"http://localhost:8080/api/v3/repos/<GITBUCKET_NAMESPACE>/git-repo\",\"http_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"clone_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/git-repo\"}"
6767
},
6868
"headers": {
69-
"Content-Length": "642",
69+
"Content-Length": "723",
7070
"Content-Type": "application/json;charset=utf-8",
71-
"Date": "Sun, 30 Apr 2017 17:31:19 GMT",
71+
"Date": "Sun, 30 Apr 2017 17:42:29 GMT",
7272
"Server": "Jetty(9.3.z-SNAPSHOT)"
7373
},
7474
"status": {
7575
"code": 200,
7676
"message": "OK"
7777
},
78-
"url": "http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>/repos"
78+
"url": "http://localhost:8080/api/v3/user/repos"
7979
}
8080
},
8181
{
82-
"recorded_at": "2017-04-30T17:31:20",
82+
"recorded_at": "2017-04-30T17:42:30",
8383
"request": {
8484
"body": {
8585
"encoding": "utf-8",
@@ -92,7 +92,7 @@
9292
"Authorization": "token <PRIVATE_KEY_GITBUCKET>",
9393
"Connection": "keep-alive",
9494
"Content-Type": "application/json",
95-
"Cookie": "JSESSIONID=1t0htrr6dcqy7zaocy5rln907",
95+
"Cookie": "JSESSIONID=v1gat922yeob3op8z3zdmrty",
9696
"User-Agent": "github3.py/0.9.5"
9797
},
9898
"method": "GET",
@@ -101,12 +101,12 @@
101101
"response": {
102102
"body": {
103103
"encoding": "utf-8",
104-
"string": "{\"name\":\"git-repo\",\"full_name\":\"<GITBUCKET_NAMESPACE>/git-repo\",\"description\":\"\",\"watchers\":0,\"forks\":0,\"private\":false,\"default_branch\":\"master\",\"owner\":{\"login\":\"<GITBUCKET_NAMESPACE>\",\"email\":\"<GITBUCKET_NAMESPACE>@localhost\",\"type\":\"User\",\"site_admin\":false,\"created_at\":\"2017-04-30T17:30:44Z\",\"url\":\"http://localhost:8080/api/v3/<GITBUCKET_NAMESPACE>s/<GITBUCKET_NAMESPACE>\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>\",\"avatar_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/_avatar\"},\"forks_count\":0,\"watchers_count\":0,\"url\":\"http://localhost:8080/api/v3/repos/<GITBUCKET_NAMESPACE>/git-repo\",\"http_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"clone_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/git-repo\"}"
104+
"string": "{\"name\":\"git-repo\",\"full_name\":\"<GITBUCKET_NAMESPACE>/git-repo\",\"description\":\"\",\"watchers\":0,\"forks\":0,\"private\":false,\"default_branch\":\"master\",\"owner\":{\"login\":\"<GITBUCKET_NAMESPACE>\",\"email\":\"user@localhost\",\"type\":\"User\",\"site_admin\":false,\"created_at\":\"2017-04-30T17:39:36Z\",\"url\":\"http://localhost:8080/api/v3/users/<GITBUCKET_NAMESPACE>\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>\",\"avatar_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/_avatar\"},\"forks_count\":0,\"watchers_count\":0,\"url\":\"http://localhost:8080/api/v3/repos/<GITBUCKET_NAMESPACE>/git-repo\",\"http_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"clone_url\":\"http://localhost:8080/git/<GITBUCKET_NAMESPACE>/git-repo.git\",\"html_url\":\"http://localhost:8080/<GITBUCKET_NAMESPACE>/git-repo\"}"
105105
},
106106
"headers": {
107-
"Content-Length": "642",
107+
"Content-Length": "723",
108108
"Content-Type": "application/json;charset=utf-8",
109-
"Date": "Sun, 30 Apr 2017 17:31:20 GMT",
109+
"Date": "Sun, 30 Apr 2017 17:42:30 GMT",
110110
"Server": "Jetty(9.3.z-SNAPSHOT)"
111111
},
112112
"status": {

0 commit comments

Comments
 (0)