Skip to content

Commit

Permalink
📼 Updated tests to support any URL configuration for Gogs
Browse files Browse the repository at this point in the history
- added env variable GOGS_URL to select the target (defaults to
  try.gogs.io)
- added PLACEHOLDER in config for any target URL

Fixes: #18
Signed-off-by: Guyzmo <guyzmo+github+pub@m0g.net>
  • Loading branch information
guyzmo committed Feb 2, 2017
1 parent b6c753a commit 336564e
Show file tree
Hide file tree
Showing 16 changed files with 91 additions and 79 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"User-Agent": "python-requests/2.12.4"
},
"method": "GET",
"uri": "http://127.0.0.1:3000/api/v1/user?token=<PRIVATE_KEY_GOGS>"
"uri": "<GOGS_URL>/api/v1/user?token=<PRIVATE_KEY_GOGS>"
},
"response": {
"body": {
"encoding": "UTF-8",
"string": "{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"http://127.0.0.1:3000/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"}"
"string": "{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"<GOGS_URL>/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"}"
},
"headers": {
"Content-Length": "152",
Expand All @@ -33,7 +33,7 @@
"code": 200,
"message": "OK"
},
"url": "http://127.0.0.1:3000/api/v1/user?token=<PRIVATE_KEY_GOGS>"
"url": "<GOGS_URL>/api/v1/user?token=<PRIVATE_KEY_GOGS>"
}
},
{
Expand All @@ -53,7 +53,7 @@
"User-Agent": "python-requests/2.12.4"
},
"method": "POST",
"uri": "http://127.0.0.1:3000/api/v1/user/repos?token=<PRIVATE_KEY_GOGS>"
"uri": "<GOGS_URL>/api/v1/user/repos?token=<PRIVATE_KEY_GOGS>"
},
"response": {
"body": {
Expand All @@ -71,7 +71,7 @@
"code": 422,
"message": "Unprocessable Entity"
},
"url": "http://127.0.0.1:3000/api/v1/user/repos?token=<PRIVATE_KEY_GOGS>"
"url": "<GOGS_URL>/api/v1/user/repos?token=<PRIVATE_KEY_GOGS>"
}
}
],
Expand Down
18 changes: 9 additions & 9 deletions tests/integration/cassettes/test_gogs_test_01_create__new.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"User-Agent": "python-requests/2.12.4"
},
"method": "GET",
"uri": "http://127.0.0.1:3000/api/v1/user?token=<PRIVATE_KEY_GOGS>"
"uri": "<GOGS_URL>/api/v1/user?token=<PRIVATE_KEY_GOGS>"
},
"response": {
"body": {
"encoding": "UTF-8",
"string": "{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"http://127.0.0.1:3000/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"}"
"string": "{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"<GOGS_URL>/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"}"
},
"headers": {
"Content-Length": "152",
Expand All @@ -33,7 +33,7 @@
"code": 200,
"message": "OK"
},
"url": "http://127.0.0.1:3000/api/v1/user?token=<PRIVATE_KEY_GOGS>"
"url": "<GOGS_URL>/api/v1/user?token=<PRIVATE_KEY_GOGS>"
}
},
{
Expand All @@ -53,12 +53,12 @@
"User-Agent": "python-requests/2.12.4"
},
"method": "POST",
"uri": "http://127.0.0.1:3000/api/v1/user/repos?token=<PRIVATE_KEY_GOGS>"
"uri": "<GOGS_URL>/api/v1/user/repos?token=<PRIVATE_KEY_GOGS>"
},
"response": {
"body": {
"encoding": "UTF-8",
"string": "{\"id\":4,\"owner\":{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"http://127.0.0.1:3000/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"},\"name\":\"foobar\",\"full_name\":\"<GOGS_NAMESPACE>/foobar\",\"description\":\"\",\"private\":false,\"fork\":false,\"html_url\":\"http://127.0.0.1:3000/<GOGS_NAMESPACE>/foobar\",\"ssh_url\":\"ssh://git@:3022/<GOGS_NAMESPACE>/foobar.git\",\"clone_url\":\"http://127.0.0.1:3000/<GOGS_NAMESPACE>/foobar.git\",\"website\":\"\",\"stars_count\":0,\"forks_count\":0,\"watchers_count\":0,\"open_issues_count\":0,\"default_branch\":\"\",\"created_at\":\"0001-01-01T00:00:00Z\",\"updated_at\":\"0001-01-01T00:00:00Z\",\"permissions\":{\"admin\":true,\"push\":true,\"pull\":true}}"
"string": "{\"id\":4,\"owner\":{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"<GOGS_URL>/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"},\"name\":\"foobar\",\"full_name\":\"<GOGS_NAMESPACE>/foobar\",\"description\":\"\",\"private\":false,\"fork\":false,\"html_url\":\"<GOGS_URL>/<GOGS_NAMESPACE>/foobar\",\"ssh_url\":\"ssh://git@:3022/<GOGS_NAMESPACE>/foobar.git\",\"clone_url\":\"<GOGS_URL>/<GOGS_NAMESPACE>/foobar.git\",\"website\":\"\",\"stars_count\":0,\"forks_count\":0,\"watchers_count\":0,\"open_issues_count\":0,\"default_branch\":\"\",\"created_at\":\"0001-01-01T00:00:00Z\",\"updated_at\":\"0001-01-01T00:00:00Z\",\"permissions\":{\"admin\":true,\"push\":true,\"pull\":true}}"
},
"headers": {
"Content-Length": "667",
Expand All @@ -71,7 +71,7 @@
"code": 201,
"message": "Created"
},
"url": "http://127.0.0.1:3000/api/v1/user/repos?token=<PRIVATE_KEY_GOGS>"
"url": "<GOGS_URL>/api/v1/user/repos?token=<PRIVATE_KEY_GOGS>"
}
},
{
Expand All @@ -89,12 +89,12 @@
"User-Agent": "python-requests/2.12.4"
},
"method": "GET",
"uri": "http://127.0.0.1:3000/api/v1/repos/<GOGS_NAMESPACE>/foobar?token=<PRIVATE_KEY_GOGS>"
"uri": "<GOGS_URL>/api/v1/repos/<GOGS_NAMESPACE>/foobar?token=<PRIVATE_KEY_GOGS>"
},
"response": {
"body": {
"encoding": "UTF-8",
"string": "{\"id\":4,\"owner\":{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"http://127.0.0.1:3000/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"},\"name\":\"foobar\",\"full_name\":\"<GOGS_NAMESPACE>/foobar\",\"description\":\"\",\"private\":false,\"fork\":false,\"html_url\":\"http://127.0.0.1:3000/<GOGS_NAMESPACE>/foobar\",\"ssh_url\":\"ssh://git@:3022/<GOGS_NAMESPACE>/foobar.git\",\"clone_url\":\"http://127.0.0.1:3000/<GOGS_NAMESPACE>/foobar.git\",\"website\":\"\",\"stars_count\":0,\"forks_count\":0,\"watchers_count\":1,\"open_issues_count\":0,\"default_branch\":\"master\",\"created_at\":\"2017-01-21T17:04:07+03:00\",\"updated_at\":\"2017-01-21T17:04:07+03:00\",\"permissions\":{\"admin\":true,\"push\":true,\"pull\":true}}"
"string": "{\"id\":4,\"owner\":{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"<GOGS_URL>/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"},\"name\":\"foobar\",\"full_name\":\"<GOGS_NAMESPACE>/foobar\",\"description\":\"\",\"private\":false,\"fork\":false,\"html_url\":\"<GOGS_URL>/<GOGS_NAMESPACE>/foobar\",\"ssh_url\":\"ssh://git@:3022/<GOGS_NAMESPACE>/foobar.git\",\"clone_url\":\"<GOGS_URL>/<GOGS_NAMESPACE>/foobar.git\",\"website\":\"\",\"stars_count\":0,\"forks_count\":0,\"watchers_count\":1,\"open_issues_count\":0,\"default_branch\":\"master\",\"created_at\":\"2017-01-21T17:04:07+03:00\",\"updated_at\":\"2017-01-21T17:04:07+03:00\",\"permissions\":{\"admin\":true,\"push\":true,\"pull\":true}}"
},
"headers": {
"Content-Length": "683",
Expand All @@ -107,7 +107,7 @@
"code": 200,
"message": "OK"
},
"url": "http://127.0.0.1:3000/api/v1/repos/<GOGS_NAMESPACE>/foobar?token=<PRIVATE_KEY_GOGS>"
"url": "<GOGS_URL>/api/v1/repos/<GOGS_NAMESPACE>/foobar?token=<PRIVATE_KEY_GOGS>"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"User-Agent": "python-requests/2.12.4"
},
"method": "GET",
"uri": "http://127.0.0.1:3000/api/v1/user?token=<PRIVATE_KEY_GOGS>"
"uri": "<GOGS_URL>/api/v1/user?token=<PRIVATE_KEY_GOGS>"
},
"response": {
"body": {
"encoding": "UTF-8",
"string": "{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"http://127.0.0.1:3000/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"}"
"string": "{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"<GOGS_URL>/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"}"
},
"headers": {
"Content-Length": "152",
Expand All @@ -33,7 +33,7 @@
"code": 200,
"message": "OK"
},
"url": "http://127.0.0.1:3000/api/v1/user?token=<PRIVATE_KEY_GOGS>"
"url": "<GOGS_URL>/api/v1/user?token=<PRIVATE_KEY_GOGS>"
}
},
{
Expand All @@ -51,12 +51,12 @@
"User-Agent": "python-requests/2.12.4"
},
"method": "GET",
"uri": "http://127.0.0.1:3000/api/v1/user/orgs?token=<PRIVATE_KEY_GOGS>"
"uri": "<GOGS_URL>/api/v1/user/orgs?token=<PRIVATE_KEY_GOGS>"
},
"response": {
"body": {
"encoding": "UTF-8",
"string": "[{\"id\":4,\"username\":\"guyzmo\",\"full_name\":\"\",\"avatar_url\":\"http://127.0.0.1:3000/avatars/4\",\"description\":\"\",\"website\":\"\",\"location\":\"\"}]"
"string": "[{\"id\":4,\"username\":\"guyzmo\",\"full_name\":\"\",\"avatar_url\":\"<GOGS_URL>/avatars/4\",\"description\":\"\",\"website\":\"\",\"location\":\"\"}]"
},
"headers": {
"Content-Length": "136",
Expand All @@ -69,7 +69,7 @@
"code": 200,
"message": "OK"
},
"url": "http://127.0.0.1:3000/api/v1/user/orgs?token=<PRIVATE_KEY_GOGS>"
"url": "<GOGS_URL>/api/v1/user/orgs?token=<PRIVATE_KEY_GOGS>"
}
},
{
Expand All @@ -89,7 +89,7 @@
"User-Agent": "python-requests/2.12.4"
},
"method": "POST",
"uri": "http://127.0.0.1:3000/api/v1/org/guyzmo/repos?token=<PRIVATE_KEY_GOGS>"
"uri": "<GOGS_URL>/api/v1/org/guyzmo/repos?token=<PRIVATE_KEY_GOGS>"
},
"response": {
"body": {
Expand All @@ -107,7 +107,7 @@
"code": 422,
"message": "Unprocessable Entity"
},
"url": "http://127.0.0.1:3000/api/v1/org/guyzmo/repos?token=<PRIVATE_KEY_GOGS>"
"url": "<GOGS_URL>/api/v1/org/guyzmo/repos?token=<PRIVATE_KEY_GOGS>"
}
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"User-Agent": "python-requests/2.12.4"
},
"method": "GET",
"uri": "http://127.0.0.1:3000/api/v1/user?token=<PRIVATE_KEY_GOGS>"
"uri": "<GOGS_URL>/api/v1/user?token=<PRIVATE_KEY_GOGS>"
},
"response": {
"body": {
"encoding": "UTF-8",
"string": "{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"http://127.0.0.1:3000/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"}"
"string": "{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"<GOGS_URL>/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"}"
},
"headers": {
"Content-Length": "152",
Expand All @@ -33,7 +33,7 @@
"code": 200,
"message": "OK"
},
"url": "http://127.0.0.1:3000/api/v1/user?token=<PRIVATE_KEY_GOGS>"
"url": "<GOGS_URL>/api/v1/user?token=<PRIVATE_KEY_GOGS>"
}
},
{
Expand All @@ -51,12 +51,12 @@
"User-Agent": "python-requests/2.12.4"
},
"method": "GET",
"uri": "http://127.0.0.1:3000/api/v1/user/orgs?token=<PRIVATE_KEY_GOGS>"
"uri": "<GOGS_URL>/api/v1/user/orgs?token=<PRIVATE_KEY_GOGS>"
},
"response": {
"body": {
"encoding": "UTF-8",
"string": "[{\"id\":4,\"username\":\"guyzmo\",\"full_name\":\"\",\"avatar_url\":\"http://127.0.0.1:3000/avatars/4\",\"description\":\"\",\"website\":\"\",\"location\":\"\"}]"
"string": "[{\"id\":4,\"username\":\"guyzmo\",\"full_name\":\"\",\"avatar_url\":\"<GOGS_URL>/avatars/4\",\"description\":\"\",\"website\":\"\",\"location\":\"\"}]"
},
"headers": {
"Content-Length": "136",
Expand All @@ -69,7 +69,7 @@
"code": 200,
"message": "OK"
},
"url": "http://127.0.0.1:3000/api/v1/user/orgs?token=<PRIVATE_KEY_GOGS>"
"url": "<GOGS_URL>/api/v1/user/orgs?token=<PRIVATE_KEY_GOGS>"
}
},
{
Expand All @@ -89,12 +89,12 @@
"User-Agent": "python-requests/2.12.4"
},
"method": "POST",
"uri": "http://127.0.0.1:3000/api/v1/org/guyzmo/repos?token=<PRIVATE_KEY_GOGS>"
"uri": "<GOGS_URL>/api/v1/org/guyzmo/repos?token=<PRIVATE_KEY_GOGS>"
},
"response": {
"body": {
"encoding": "UTF-8",
"string": "{\"id\":5,\"owner\":{\"id\":4,\"login\":\"guyzmo\",\"full_name\":\"\",\"email\":\"\",\"avatar_url\":\"http://127.0.0.1:3000/avatars/4\",\"username\":\"guyzmo\"},\"name\":\"foobar\",\"full_name\":\"guyzmo/foobar\",\"description\":\"\",\"private\":false,\"fork\":false,\"html_url\":\"http://127.0.0.1:3000/guyzmo/foobar\",\"ssh_url\":\"ssh://git@:3022/guyzmo/foobar.git\",\"clone_url\":\"http://127.0.0.1:3000/guyzmo/foobar.git\",\"website\":\"\",\"stars_count\":0,\"forks_count\":0,\"watchers_count\":0,\"open_issues_count\":0,\"default_branch\":\"\",\"created_at\":\"0001-01-01T00:00:00Z\",\"updated_at\":\"0001-01-01T00:00:00Z\",\"permissions\":{\"admin\":true,\"push\":true,\"pull\":true}}"
"string": "{\"id\":5,\"owner\":{\"id\":4,\"login\":\"guyzmo\",\"full_name\":\"\",\"email\":\"\",\"avatar_url\":\"<GOGS_URL>/avatars/4\",\"username\":\"guyzmo\"},\"name\":\"foobar\",\"full_name\":\"guyzmo/foobar\",\"description\":\"\",\"private\":false,\"fork\":false,\"html_url\":\"<GOGS_URL>/guyzmo/foobar\",\"ssh_url\":\"ssh://git@:3022/guyzmo/foobar.git\",\"clone_url\":\"<GOGS_URL>/guyzmo/foobar.git\",\"website\":\"\",\"stars_count\":0,\"forks_count\":0,\"watchers_count\":0,\"open_issues_count\":0,\"default_branch\":\"\",\"created_at\":\"0001-01-01T00:00:00Z\",\"updated_at\":\"0001-01-01T00:00:00Z\",\"permissions\":{\"admin\":true,\"push\":true,\"pull\":true}}"
},
"headers": {
"Content-Length": "605",
Expand All @@ -107,7 +107,7 @@
"code": 201,
"message": "Created"
},
"url": "http://127.0.0.1:3000/api/v1/org/guyzmo/repos?token=<PRIVATE_KEY_GOGS>"
"url": "<GOGS_URL>/api/v1/org/guyzmo/repos?token=<PRIVATE_KEY_GOGS>"
}
},
{
Expand All @@ -125,12 +125,12 @@
"User-Agent": "python-requests/2.12.4"
},
"method": "GET",
"uri": "http://127.0.0.1:3000/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>"
"uri": "<GOGS_URL>/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>"
},
"response": {
"body": {
"encoding": "UTF-8",
"string": "{\"id\":5,\"owner\":{\"id\":4,\"login\":\"guyzmo\",\"full_name\":\"\",\"email\":\"\",\"avatar_url\":\"http://127.0.0.1:3000/avatars/4\",\"username\":\"guyzmo\"},\"name\":\"foobar\",\"full_name\":\"guyzmo/foobar\",\"description\":\"\",\"private\":false,\"fork\":false,\"html_url\":\"http://127.0.0.1:3000/guyzmo/foobar\",\"ssh_url\":\"ssh://git@:3022/guyzmo/foobar.git\",\"clone_url\":\"http://127.0.0.1:3000/guyzmo/foobar.git\",\"website\":\"\",\"stars_count\":0,\"forks_count\":0,\"watchers_count\":2,\"open_issues_count\":0,\"default_branch\":\"master\",\"created_at\":\"2017-01-21T17:04:10+03:00\",\"updated_at\":\"2017-01-21T17:04:10+03:00\",\"permissions\":{\"admin\":true,\"push\":true,\"pull\":true}}"
"string": "{\"id\":5,\"owner\":{\"id\":4,\"login\":\"guyzmo\",\"full_name\":\"\",\"email\":\"\",\"avatar_url\":\"<GOGS_URL>/avatars/4\",\"username\":\"guyzmo\"},\"name\":\"foobar\",\"full_name\":\"guyzmo/foobar\",\"description\":\"\",\"private\":false,\"fork\":false,\"html_url\":\"<GOGS_URL>/guyzmo/foobar\",\"ssh_url\":\"ssh://git@:3022/guyzmo/foobar.git\",\"clone_url\":\"<GOGS_URL>/guyzmo/foobar.git\",\"website\":\"\",\"stars_count\":0,\"forks_count\":0,\"watchers_count\":2,\"open_issues_count\":0,\"default_branch\":\"master\",\"created_at\":\"2017-01-21T17:04:10+03:00\",\"updated_at\":\"2017-01-21T17:04:10+03:00\",\"permissions\":{\"admin\":true,\"push\":true,\"pull\":true}}"
},
"headers": {
"Content-Length": "621",
Expand All @@ -143,7 +143,7 @@
"code": 200,
"message": "OK"
},
"url": "http://127.0.0.1:3000/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>"
"url": "<GOGS_URL>/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>"
}
}
],
Expand Down
14 changes: 7 additions & 7 deletions tests/integration/cassettes/test_gogs_test_02_delete.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"User-Agent": "python-requests/2.12.4"
},
"method": "GET",
"uri": "http://127.0.0.1:3000/api/v1/user?token=<PRIVATE_KEY_GOGS>"
"uri": "<GOGS_URL>/api/v1/user?token=<PRIVATE_KEY_GOGS>"
},
"response": {
"body": {
"encoding": "UTF-8",
"string": "{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"http://127.0.0.1:3000/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"}"
"string": "{\"id\":3,\"login\":\"<GOGS_NAMESPACE>\",\"full_name\":\"\",\"email\":\"guyzmo@gogs.loopback\",\"avatar_url\":\"<GOGS_URL>/avatars/3\",\"username\":\"<GOGS_NAMESPACE>\"}"
},
"headers": {
"Content-Length": "152",
Expand All @@ -33,7 +33,7 @@
"code": 200,
"message": "OK"
},
"url": "http://127.0.0.1:3000/api/v1/user?token=<PRIVATE_KEY_GOGS>"
"url": "<GOGS_URL>/api/v1/user?token=<PRIVATE_KEY_GOGS>"
}
},
{
Expand All @@ -52,7 +52,7 @@
"User-Agent": "python-requests/2.12.4"
},
"method": "DELETE",
"uri": "http://127.0.0.1:3000/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>"
"uri": "<GOGS_URL>/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>"
},
"response": {
"body": {
Expand All @@ -67,7 +67,7 @@
"code": 204,
"message": "No Content"
},
"url": "http://127.0.0.1:3000/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>"
"url": "<GOGS_URL>/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>"
}
},
{
Expand All @@ -85,7 +85,7 @@
"User-Agent": "python-requests/2.12.4"
},
"method": "GET",
"uri": "http://127.0.0.1:3000/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>"
"uri": "<GOGS_URL>/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>"
},
"response": {
"body": {
Expand All @@ -103,7 +103,7 @@
"code": 404,
"message": "Not Found"
},
"url": "http://127.0.0.1:3000/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>"
"url": "<GOGS_URL>/api/v1/repos/guyzmo/foobar?token=<PRIVATE_KEY_GOGS>"
}
}
],
Expand Down
Loading

0 comments on commit 336564e

Please sign in to comment.