Show More
@@ -32,12 +32,14 b' def get_url_defs():' | |||
|
32 | 32 | "admin_home": ADMIN_PREFIX + "", |
|
33 | 33 | "admin_audit_logs": ADMIN_PREFIX + "/audit_logs", |
|
34 | 34 | "admin_defaults_repositories": ADMIN_PREFIX + "/defaults/repositories", |
|
35 |
"admin_defaults_repositories_update": ADMIN_PREFIX |
|
|
35 | "admin_defaults_repositories_update": ADMIN_PREFIX | |
|
36 | + "/defaults/repositories/update", | |
|
36 | 37 | "search": ADMIN_PREFIX + "/search", |
|
37 | 38 | "search_repo": "/{repo_name}/search", |
|
38 | 39 | "my_account_auth_tokens": ADMIN_PREFIX + "/my_account/auth_tokens", |
|
39 | 40 | "my_account_auth_tokens_add": ADMIN_PREFIX + "/my_account/auth_tokens/new", |
|
40 |
"my_account_auth_tokens_delete": ADMIN_PREFIX |
|
|
41 | "my_account_auth_tokens_delete": ADMIN_PREFIX | |
|
42 | + "/my_account/auth_tokens/delete", | |
|
41 | 43 | "repos": ADMIN_PREFIX + "/repos", |
|
42 | 44 | "repos_data": ADMIN_PREFIX + "/repos_data", |
|
43 | 45 | "repo_groups": ADMIN_PREFIX + "/repo_groups", |
@@ -93,77 +95,100 b' def get_url_defs():' | |||
|
93 | 95 | "gist_show": ADMIN_PREFIX + "/gists/{gist_id}", |
|
94 | 96 | "gist_delete": ADMIN_PREFIX + "/gists/{gist_id}/delete", |
|
95 | 97 | "gist_edit": ADMIN_PREFIX + "/gists/{gist_id}/edit", |
|
96 |
"gist_edit_check_revision": ADMIN_PREFIX |
|
|
98 | "gist_edit_check_revision": ADMIN_PREFIX | |
|
99 | + "/gists/{gist_id}/edit/check_revision", | |
|
97 | 100 | "gist_update": ADMIN_PREFIX + "/gists/{gist_id}/update", |
|
98 | 101 | "gist_show_rev": ADMIN_PREFIX + "/gists/{gist_id}/rev/{revision}", |
|
99 |
"gist_show_formatted": ADMIN_PREFIX |
|
|
100 |
|
|
|
102 | "gist_show_formatted": ADMIN_PREFIX | |
|
103 | + "/gists/{gist_id}/rev/{revision}/{format}", | |
|
104 | "gist_show_formatted_path": ADMIN_PREFIX | |
|
105 | + "/gists/{gist_id}/rev/{revision}/{format}/{f_path}", | |
|
101 | 106 | "login": ADMIN_PREFIX + "/login", |
|
102 | 107 | "logout": ADMIN_PREFIX + "/logout", |
|
103 | 108 | "register": ADMIN_PREFIX + "/register", |
|
104 | 109 | "reset_password": ADMIN_PREFIX + "/password_reset", |
|
105 | 110 | "reset_password_confirmation": ADMIN_PREFIX + "/password_reset_confirmation", |
|
106 | 111 | "admin_permissions_application": ADMIN_PREFIX + "/permissions/application", |
|
107 |
"admin_permissions_application_update": ADMIN_PREFIX |
|
|
112 | "admin_permissions_application_update": ADMIN_PREFIX | |
|
113 | + "/permissions/application/update", | |
|
108 | 114 | "repo_commit_raw": "/{repo_name}/changeset-diff/{commit_id}", |
|
109 |
"user_group_members_data": ADMIN_PREFIX |
|
|
115 | "user_group_members_data": ADMIN_PREFIX | |
|
116 | + "/user_groups/{user_group_id}/members", | |
|
110 | 117 | "user_groups_new": ADMIN_PREFIX + "/user_groups/new", |
|
111 | 118 | "user_groups_create": ADMIN_PREFIX + "/user_groups/create", |
|
112 | 119 | "edit_user_group": ADMIN_PREFIX + "/user_groups/{user_group_id}/edit", |
|
113 |
"edit_user_group_advanced_sync": ADMIN_PREFIX |
|
|
114 | "edit_user_group_global_perms_update": ADMIN_PREFIX + "/user_groups/{user_group_id}/edit/global_permissions/update", | |
|
120 | "edit_user_group_advanced_sync": ADMIN_PREFIX | |
|
121 | + "/user_groups/{user_group_id}/edit/advanced/sync", | |
|
122 | "edit_user_group_global_perms_update": ADMIN_PREFIX | |
|
123 | + "/user_groups/{user_group_id}/edit/global_permissions/update", | |
|
115 | 124 | "user_groups_update": ADMIN_PREFIX + "/user_groups/{user_group_id}/update", |
|
116 | 125 | "user_groups_delete": ADMIN_PREFIX + "/user_groups/{user_group_id}/delete", |
|
117 |
"edit_user_group_perms": ADMIN_PREFIX |
|
|
118 |
|
|
|
126 | "edit_user_group_perms": ADMIN_PREFIX | |
|
127 | + "/user_groups/{user_group_id}/edit/permissions", | |
|
128 | "edit_user_group_perms_update": ADMIN_PREFIX | |
|
129 | + "/user_groups/{user_group_id}/edit/permissions/update", | |
|
119 | 130 | "edit_repo_group": "/{repo_group_name}/_edit", |
|
120 | 131 | "edit_repo_group_perms": "/{repo_group_name:}/_settings/permissions", |
|
121 | 132 | "edit_repo_group_perms_update": "/{repo_group_name}/_settings/permissions/update", |
|
122 | 133 | "edit_repo_group_advanced": "/{repo_group_name}/_settings/advanced", |
|
123 | 134 | "edit_repo_group_advanced_delete": "/{repo_group_name}/_settings/advanced/delete", |
|
124 | 135 | "edit_user_ssh_keys": ADMIN_PREFIX + "/users/{user_id}/edit/ssh_keys", |
|
125 |
"edit_user_ssh_keys_generate_keypair": ADMIN_PREFIX |
|
|
136 | "edit_user_ssh_keys_generate_keypair": ADMIN_PREFIX | |
|
137 | + "/users/{user_id}/edit/ssh_keys/generate", | |
|
126 | 138 | "edit_user_ssh_keys_add": ADMIN_PREFIX + "/users/{user_id}/edit/ssh_keys/new", |
|
127 |
"edit_user_ssh_keys_delete": ADMIN_PREFIX |
|
|
139 | "edit_user_ssh_keys_delete": ADMIN_PREFIX | |
|
140 | + "/users/{user_id}/edit/ssh_keys/delete", | |
|
128 | 141 | "users": ADMIN_PREFIX + "/users", |
|
129 | 142 | "users_data": ADMIN_PREFIX + "/users_data", |
|
130 | 143 | "users_create": ADMIN_PREFIX + "/users/create", |
|
131 | 144 | "users_new": ADMIN_PREFIX + "/users/new", |
|
132 | 145 | "user_edit": ADMIN_PREFIX + "/users/{user_id}/edit", |
|
133 | 146 | "user_edit_advanced": ADMIN_PREFIX + "/users/{user_id}/edit/advanced", |
|
134 |
"user_edit_global_perms": ADMIN_PREFIX |
|
|
135 |
|
|
|
147 | "user_edit_global_perms": ADMIN_PREFIX | |
|
148 | + "/users/{user_id}/edit/global_permissions", | |
|
149 | "user_edit_global_perms_update": ADMIN_PREFIX | |
|
150 | + "/users/{user_id}/edit/global_permissions/update", | |
|
136 | 151 | "user_update": ADMIN_PREFIX + "/users/{user_id}/update", |
|
137 | 152 | "user_delete": ADMIN_PREFIX + "/users/{user_id}/delete", |
|
138 |
"user_create_personal_repo_group": ADMIN_PREFIX |
|
|
153 | "user_create_personal_repo_group": ADMIN_PREFIX | |
|
154 | + "/users/{user_id}/create_repo_group", | |
|
139 | 155 | "edit_user_auth_tokens": ADMIN_PREFIX + "/users/{user_id}/edit/auth_tokens", |
|
140 |
"edit_user_auth_tokens_add": ADMIN_PREFIX |
|
|
141 |
|
|
|
156 | "edit_user_auth_tokens_add": ADMIN_PREFIX | |
|
157 | + "/users/{user_id}/edit/auth_tokens/new", | |
|
158 | "edit_user_auth_tokens_delete": ADMIN_PREFIX | |
|
159 | + "/users/{user_id}/edit/auth_tokens/delete", | |
|
142 | 160 | "edit_user_emails": ADMIN_PREFIX + "/users/{user_id}/edit/emails", |
|
143 | 161 | "edit_user_emails_add": ADMIN_PREFIX + "/users/{user_id}/edit/emails/new", |
|
144 | 162 | "edit_user_emails_delete": ADMIN_PREFIX + "/users/{user_id}/edit/emails/delete", |
|
145 | 163 | "edit_user_ips": ADMIN_PREFIX + "/users/{user_id}/edit/ips", |
|
146 | 164 | "edit_user_ips_add": ADMIN_PREFIX + "/users/{user_id}/edit/ips/new", |
|
147 | 165 | "edit_user_ips_delete": ADMIN_PREFIX + "/users/{user_id}/edit/ips/delete", |
|
148 |
"edit_user_perms_summary": ADMIN_PREFIX |
|
|
149 |
|
|
|
166 | "edit_user_perms_summary": ADMIN_PREFIX | |
|
167 | + "/users/{user_id}/edit/permissions_summary", | |
|
168 | "edit_user_perms_summary_json": ADMIN_PREFIX | |
|
169 | + "/users/{user_id}/edit/permissions_summary/json", | |
|
150 | 170 | "edit_user_audit_logs": ADMIN_PREFIX + "/users/{user_id}/edit/audit", |
|
151 |
"edit_user_audit_logs_download": ADMIN_PREFIX |
|
|
171 | "edit_user_audit_logs_download": ADMIN_PREFIX | |
|
172 | + "/users/{user_id}/edit/audit/download", | |
|
152 | 173 | "admin_settings": ADMIN_PREFIX + "/settings", |
|
153 | 174 | "admin_settings_update": ADMIN_PREFIX + "/settings/update", |
|
154 | 175 | "admin_settings_global": ADMIN_PREFIX + "/settings/global", |
|
155 | 176 | "admin_settings_global_update": ADMIN_PREFIX + "/settings/global/update", |
|
156 | 177 | "admin_settings_vcs": ADMIN_PREFIX + "/settings/vcs", |
|
157 | 178 | "admin_settings_vcs_update": ADMIN_PREFIX + "/settings/vcs/update", |
|
158 |
"admin_settings_vcs_svn_pattern_delete": ADMIN_PREFIX |
|
|
179 | "admin_settings_vcs_svn_pattern_delete": ADMIN_PREFIX | |
|
180 | + "/settings/vcs/svn_pattern_delete", | |
|
159 | 181 | "admin_settings_mapping": ADMIN_PREFIX + "/settings/mapping", |
|
160 | 182 | "admin_settings_mapping_update": ADMIN_PREFIX + "/settings/mapping/update", |
|
161 | 183 | "admin_settings_visual": ADMIN_PREFIX + "/settings/visual", |
|
162 | 184 | "admin_settings_visual_update": ADMIN_PREFIX + "/settings/visual/update", |
|
163 | 185 | "admin_settings_issuetracker": ADMIN_PREFIX + "/settings/issue-tracker", |
|
164 |
"admin_settings_issuetracker_update": ADMIN_PREFIX |
|
|
165 | "admin_settings_issuetracker_test": ADMIN_PREFIX + "/settings/issue-tracker/test", | |
|
166 |
"admin_settings_issuetracker_ |
|
|
186 | "admin_settings_issuetracker_update": ADMIN_PREFIX | |
|
187 | + "/settings/issue-tracker/update", | |
|
188 | "admin_settings_issuetracker_test": ADMIN_PREFIX | |
|
189 | + "/settings/issue-tracker/test", | |
|
190 | "admin_settings_issuetracker_delete": ADMIN_PREFIX | |
|
191 | + "/settings/issue-tracker/delete", | |
|
167 | 192 | "admin_settings_email": ADMIN_PREFIX + "/settings/email", |
|
168 | 193 | "admin_settings_email_update": ADMIN_PREFIX + "/settings/email/update", |
|
169 | 194 | "admin_settings_hooks": ADMIN_PREFIX + "/settings/hooks", |
@@ -189,7 +214,8 b' def get_url_defs():' | |||
|
189 | 214 | "admin_permissions_overview": ADMIN_PREFIX + "/permissions/overview", |
|
190 | 215 | "admin_permissions_ssh_keys": ADMIN_PREFIX + "/permissions/ssh_keys", |
|
191 | 216 | "admin_permissions_ssh_keys_data": ADMIN_PREFIX + "/permissions/ssh_keys/data", |
|
192 |
"admin_permissions_ssh_keys_update": ADMIN_PREFIX |
|
|
217 | "admin_permissions_ssh_keys_update": ADMIN_PREFIX | |
|
218 | + "/permissions/ssh_keys/update", | |
|
193 | 219 | "pullrequest_show": "/{repo_name}/pull-request/{pull_request_id}", |
|
194 | 220 | "pull_requests_global": ADMIN_PREFIX + "/pull-request/{pull_request_id}", |
|
195 | 221 | "pull_requests_global_0": ADMIN_PREFIX + "/pull_requests/{pull_request_id}", |
@@ -197,8 +223,10 b' def get_url_defs():' | |||
|
197 | 223 | "notifications_show_all": ADMIN_PREFIX + "/notifications", |
|
198 | 224 | "notifications_mark_all_read": ADMIN_PREFIX + "/notifications_mark_all_read", |
|
199 | 225 | "notifications_show": ADMIN_PREFIX + "/notifications/{notification_id}", |
|
200 |
"notifications_update": ADMIN_PREFIX |
|
|
201 |
|
|
|
226 | "notifications_update": ADMIN_PREFIX | |
|
227 | + "/notifications/{notification_id}/update", | |
|
228 | "notifications_delete": ADMIN_PREFIX | |
|
229 | + "/notifications/{notification_id}/delete", | |
|
202 | 230 | "my_account": ADMIN_PREFIX + "/my_account/profile", |
|
203 | 231 | "my_account_edit": ADMIN_PREFIX + "/my_account/edit", |
|
204 | 232 | "my_account_update": ADMIN_PREFIX + "/my_account/update", |
@@ -276,7 +304,8 b' def get_url_defs():' | |||
|
276 | 304 | "edit_repo_advanced_journal": "/{repo_name}/settings/advanced/journal", |
|
277 | 305 | "repo_stats": "/{repo_name}/repo_stats/{commit_id}", |
|
278 | 306 | "repo_refs_data": "/{repo_name}/refs-data", |
|
279 | "repo_refs_changelog_data": "/{repo_name}/refs-data-changelog" | |
|
307 | "repo_refs_changelog_data": "/{repo_name}/refs-data-changelog", | |
|
308 | "repo_artifacts_stream_store": "/_file_store/stream-upload", | |
|
280 | 309 | } |
|
281 | 310 | |
|
282 | 311 |
@@ -369,7 +369,7 b' class TestRepositoryMerge(object):' | |||
|
369 | 369 | self.repo_id, self.workspace_id, self.target_ref, self.source_repo, |
|
370 | 370 | self.source_ref, dry_run=True) |
|
371 | 371 | |
|
372 | # Multiple merges may differ in their commit id. Therefore we set the | |
|
372 | # Multiple merges may differ in their commit id. Therefore, we set the | |
|
373 | 373 | # commit id to `None` before comparing the merge responses. |
|
374 | 374 | new_merge_ref = merge_response.merge_ref.commit_id = None |
|
375 | 375 | merge_response.merge_ref = new_merge_ref |
General Comments 0
You need to be logged in to leave comments.
Login now