Skip to content

Commit a5c93f3

Browse files
Michael Russellguyzmo
authored andcommitted
Hardcore namespace in cassette instead of using BITBUCKET_NAMESPACE
which is not set to crazybus in the test environment
1 parent 619b359 commit a5c93f3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/integration/cassettes/test_gitlab_test_20_request_create_with_edit_and_no_title.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"response": {
2121
"body": {
2222
"encoding": null,
23-
"string": "{\"name\":\"Michael Russell\",\"username\":\"<BITBUCKET_NAMESPACE>\",\"id\":922189,\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/fbff0e16b2d2c737d36575686375c203?s=80&d=identicon\",\"web_url\":\"https://gitlab.com/<BITBUCKET_NAMESPACE>\",\"created_at\":\"2017-01-02T21:31:34.426Z\",\"is_admin\":false,\"bio\":null,\"location\":null,\"skype\":\"\",\"linkedin\":\"\",\"twitter\":\"\",\"website_url\":\"\",\"organization\":null,\"last_sign_in_at\":\"2017-02-28T18:43:00.076Z\",\"confirmed_at\":\"2017-01-02T21:31:34.289Z\",\"email\":\"<BITBUCKET_NAMESPACE>24@gmail.com\",\"theme_id\":2,\"color_scheme_id\":4,\"projects_limit\":100000,\"current_sign_in_at\":\"2017-03-04T16:30:18.407Z\",\"identities\":[{\"provider\":\"google_oauth2\",\"extern_uid\":\"118342393548148958779\"}],\"can_create_group\":true,\"can_create_project\":true,\"two_factor_enabled\":true,\"external\":false}"
23+
"string": "{\"name\":\"Michael Russell\",\"username\":\"crazybus\",\"id\":922189,\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/fbff0e16b2d2c737d36575686375c203?s=80&d=identicon\",\"web_url\":\"https://gitlab.com/crazybus\",\"created_at\":\"2017-01-02T21:31:34.426Z\",\"is_admin\":false,\"bio\":null,\"location\":null,\"skype\":\"\",\"linkedin\":\"\",\"twitter\":\"\",\"website_url\":\"\",\"organization\":null,\"last_sign_in_at\":\"2017-02-28T18:43:00.076Z\",\"confirmed_at\":\"2017-01-02T21:31:34.289Z\",\"email\":\"crazybus24@gmail.com\",\"theme_id\":2,\"color_scheme_id\":4,\"projects_limit\":100000,\"current_sign_in_at\":\"2017-03-04T16:30:18.407Z\",\"identities\":[{\"provider\":\"google_oauth2\",\"extern_uid\":\"118342393548148958779\"}],\"can_create_group\":true,\"can_create_project\":true,\"two_factor_enabled\":true,\"external\":false}"
2424
},
2525
"headers": {
2626
"Cache-Control": "max-age=0, private, must-revalidate",
@@ -55,12 +55,12 @@
5555
"User-Agent": "python-requests/2.13.0"
5656
},
5757
"method": "GET",
58-
"uri": "https://gitlab.com/api/v3/projects/<BITBUCKET_NAMESPACE>%2Ftest_create_requests"
58+
"uri": "https://gitlab.com/api/v3/projects/crazybus%2Ftest_create_requests"
5959
},
6060
"response": {
6161
"body": {
6262
"encoding": null,
63-
"string": "{\"id\":2830817,\"description\":null,\"default_branch\":\"master\",\"tag_list\":[],\"public\":false,\"archived\":false,\"visibility_level\":0,\"ssh_url_to_repo\":\"[email protected]:<BITBUCKET_NAMESPACE>/test_create_requests.git\",\"http_url_to_repo\":\"https://gitlab.com/<BITBUCKET_NAMESPACE>/test_create_requests.git\",\"web_url\":\"https://gitlab.com/<BITBUCKET_NAMESPACE>/test_create_requests\",\"owner\":{\"name\":\"Michael Russell\",\"username\":\"<BITBUCKET_NAMESPACE>\",\"id\":922189,\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/fbff0e16b2d2c737d36575686375c203?s=80&d=identicon\",\"web_url\":\"https://gitlab.com/<BITBUCKET_NAMESPACE>\"},\"name\":\"test_create_requests\",\"name_with_namespace\":\"Michael Russell / test_create_requests\",\"path\":\"test_create_requests\",\"path_with_namespace\":\"<BITBUCKET_NAMESPACE>/test_create_requests\",\"container_registry_enabled\":true,\"issues_enabled\":true,\"merge_requests_enabled\":true,\"wiki_enabled\":true,\"builds_enabled\":true,\"snippets_enabled\":false,\"created_at\":\"2017-03-04T23:36:16.987Z\",\"last_activity_at\":\"2017-03-04T23:36:16.987Z\",\"shared_runners_enabled\":true,\"lfs_enabled\":true,\"creator_id\":922189,\"namespace\":{\"id\":1107131,\"name\":\"<BITBUCKET_NAMESPACE>\",\"path\":\"<BITBUCKET_NAMESPACE>\",\"kind\":\"user\"},\"avatar_url\":null,\"star_count\":0,\"forks_count\":0,\"open_issues_count\":0,\"runners_token\":\"mRkZBd-_9Pohkns84y_K\",\"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\":{\"access_level\":40,\"notification_level\":3},\"group_access\":null}}"
63+
"string": "{\"id\":2830817,\"description\":null,\"default_branch\":\"master\",\"tag_list\":[],\"public\":false,\"archived\":false,\"visibility_level\":0,\"ssh_url_to_repo\":\"[email protected]:crazybus/test_create_requests.git\",\"http_url_to_repo\":\"https://gitlab.com/crazybus/test_create_requests.git\",\"web_url\":\"https://gitlab.com/crazybus/test_create_requests\",\"owner\":{\"name\":\"Michael Russell\",\"username\":\"crazybus\",\"id\":922189,\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/fbff0e16b2d2c737d36575686375c203?s=80&d=identicon\",\"web_url\":\"https://gitlab.com/crazybus\"},\"name\":\"test_create_requests\",\"name_with_namespace\":\"Michael Russell / test_create_requests\",\"path\":\"test_create_requests\",\"path_with_namespace\":\"crazybus/test_create_requests\",\"container_registry_enabled\":true,\"issues_enabled\":true,\"merge_requests_enabled\":true,\"wiki_enabled\":true,\"builds_enabled\":true,\"snippets_enabled\":false,\"created_at\":\"2017-03-04T23:36:16.987Z\",\"last_activity_at\":\"2017-03-04T23:36:16.987Z\",\"shared_runners_enabled\":true,\"lfs_enabled\":true,\"creator_id\":922189,\"namespace\":{\"id\":1107131,\"name\":\"crazybus\",\"path\":\"crazybus\",\"kind\":\"user\"},\"avatar_url\":null,\"star_count\":0,\"forks_count\":0,\"open_issues_count\":0,\"runners_token\":\"mRkZBd-_9Pohkns84y_K\",\"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\":{\"access_level\":40,\"notification_level\":3},\"group_access\":null}}"
6464
},
6565
"headers": {
6666
"Cache-Control": "max-age=0, private, must-revalidate",
@@ -77,7 +77,7 @@
7777
"code": 200,
7878
"message": "OK"
7979
},
80-
"url": "https://gitlab.com/api/v3/projects/<BITBUCKET_NAMESPACE>%2Ftest_create_requests"
80+
"url": "https://gitlab.com/api/v3/projects/crazybus%2Ftest_create_requests"
8181
}
8282
},
8383
{
@@ -102,7 +102,7 @@
102102
"response": {
103103
"body": {
104104
"encoding": null,
105-
"string": "{\"id\":2605518,\"iid\":1,\"project_id\":2830817,\"title\":\"title\",\"description\":\"description\",\"state\":\"opened\",\"created_at\":\"2017-03-04T23:36:28.616Z\",\"updated_at\":\"2017-03-04T23:36:28.616Z\",\"target_branch\":\"master\",\"source_branch\":\"pr-test\",\"upvotes\":0,\"downvotes\":0,\"author\":{\"name\":\"Michael Russell\",\"username\":\"<BITBUCKET_NAMESPACE>\",\"id\":922189,\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/fbff0e16b2d2c737d36575686375c203?s=80&d=identicon\",\"web_url\":\"https://gitlab.com/<BITBUCKET_NAMESPACE>\"},\"assignee\":null,\"source_project_id\":2830817,\"target_project_id\":2830817,\"labels\":[],\"work_in_progress\":false,\"milestone\":null,\"merge_when_build_succeeds\":false,\"merge_status\":\"unchecked\",\"sha\":\"f16c0d4a371caa606e951b157dc5709a87996cb4\",\"merge_commit_sha\":null,\"subscribed\":true,\"user_notes_count\":0,\"approvals_before_merge\":null,\"should_remove_source_branch\":null,\"force_remove_source_branch\":null,\"squash\":false,\"web_url\":\"https://gitlab.com/<BITBUCKET_NAMESPACE>/test_create_requests/merge_requests/1\"}"
105+
"string": "{\"id\":2605518,\"iid\":1,\"project_id\":2830817,\"title\":\"title\",\"description\":\"description\",\"state\":\"opened\",\"created_at\":\"2017-03-04T23:36:28.616Z\",\"updated_at\":\"2017-03-04T23:36:28.616Z\",\"target_branch\":\"master\",\"source_branch\":\"pr-test\",\"upvotes\":0,\"downvotes\":0,\"author\":{\"name\":\"Michael Russell\",\"username\":\"crazybus\",\"id\":922189,\"state\":\"active\",\"avatar_url\":\"https://secure.gravatar.com/avatar/fbff0e16b2d2c737d36575686375c203?s=80&d=identicon\",\"web_url\":\"https://gitlab.com/crazybus\"},\"assignee\":null,\"source_project_id\":2830817,\"target_project_id\":2830817,\"labels\":[],\"work_in_progress\":false,\"milestone\":null,\"merge_when_build_succeeds\":false,\"merge_status\":\"unchecked\",\"sha\":\"f16c0d4a371caa606e951b157dc5709a87996cb4\",\"merge_commit_sha\":null,\"subscribed\":true,\"user_notes_count\":0,\"approvals_before_merge\":null,\"should_remove_source_branch\":null,\"force_remove_source_branch\":null,\"squash\":false,\"web_url\":\"https://gitlab.com/crazybus/test_create_requests/merge_requests/1\"}"
106106
},
107107
"headers": {
108108
"Cache-Control": "max-age=0, private, must-revalidate",
@@ -124,4 +124,4 @@
124124
}
125125
],
126126
"recorded_with": "betamax/0.5.1"
127-
}
127+
}

0 commit comments

Comments
 (0)