Properties
Properties
- Buildable
- B141: Diff 112
- Build Plan
- Plan 2 Software Heritage Python tests
- Status
Passed
Lint
Lint
- When
- Completed at May 30 2016, 3:53 PM · Built for 6 s
- Status
Passed
1 empty logs are hidden. Show all logs.
1 | python3 -m flake8 swh bin/swh-web-ui-dev |
---|---|
2 |
Python tests
Python tests
- When
- Completed at May 30 2016, 3:53 PM · Built for 5 s
- Status
Passed
194 | swh_filter_renderer_do_filter (ui.tests.test_renderers.RendererTestCase) ... ok |
---|---|
195 | swh_filter_renderer_do_nothing (ui.tests.test_renderers.RendererTestCase) ... ok |
196 | urlize_api_links (ui.tests.test_renderers.RendererTestCase) ... ok |
197 | yaml_renderer (ui.tests.test_renderers.RendererTestCase) ... ok |
198 | yaml_renderer_without_filter (ui.tests.test_renderers.RendererTestCase) ... ok |
199 | hash_and_search (ui.tests.test_service.ServiceTestCase) ... ok |
200 | hash_and_search_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
201 | lookup_content_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
202 | lookup_content_raw (ui.tests.test_service.ServiceTestCase) ... ok |
203 | lookup_content_raw_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
204 | lookup_content_with_sha1 (ui.tests.test_service.ServiceTestCase) ... ok |
205 | lookup_content_with_sha256 (ui.tests.test_service.ServiceTestCase) ... ok |
206 | lookup_directory (ui.tests.test_service.ServiceTestCase) ... ok |
207 | lookup_directory_bad_checksum (ui.tests.test_service.ServiceTestCase) ... ok |
208 | lookup_directory_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
209 | lookup_directory_through_revision_ko_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
210 | lookup_directory_through_revision_ok_with_content (ui.tests.test_service.ServiceTestCase) ... ok |
211 | lookup_directory_through_revision_ok_with_data (ui.tests.test_service.ServiceTestCase) ... ok |
212 | lookup_directory_with_path_found (ui.tests.test_service.ServiceTestCase) ... ok |
213 | lookup_directory_with_path_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
214 | lookup_directory_with_revision_ko_revision_not_found (ui.tests.test_service.ServiceTestCase) ... ok |
215 | lookup_directory_with_revision_ko_revision_with_path_to_nowhere (ui.tests.test_service.ServiceTestCase) ... ok |
216 | lookup_directory_with_revision_ko_type_not_implemented (ui.tests.test_service.ServiceTestCase) ... ok |
217 | lookup_directory_with_revision_revision_with_path_to_dir (ui.tests.test_service.ServiceTestCase) ... ok |
218 | lookup_directory_with_revision_revision_with_path_to_file_with_data (ui.tests.test_service.ServiceTestCase) ... ok |
219 | lookup_directory_with_revision_revision_with_path_to_file_without_data (ui.tests.test_service.ServiceTestCase) ... ok |
220 | lookup_directory_with_revision_revision_without_path (ui.tests.test_service.ServiceTestCase) ... ok |
221 | lookup_entity_by_uuid (ui.tests.test_service.ServiceTestCase) ... ok |
222 | lookup_hash_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok |
223 | lookup_hash_exist (ui.tests.test_service.ServiceTestCase) ... ok |
224 | lookup_hash_origin (ui.tests.test_service.ServiceTestCase) ... ok |
225 | lookup_multiple_hashes_ball_missing (ui.tests.test_service.ServiceTestCase) ... ok |
226 | lookup_multiple_hashes_some_missing (ui.tests.test_service.ServiceTestCase) ... ok |
227 | lookup_origin (ui.tests.test_service.ServiceTestCase) ... ok |
228 | lookup_person (ui.tests.test_service.ServiceTestCase) ... ok |
229 | lookup_release (ui.tests.test_service.ServiceTestCase) ... ok |
230 | lookup_release_ko_id_checksum_not_ok_because_not_a_sha1 (ui.tests.test_service.ServiceTestCase) ... ok |
231 | lookup_release_ko_id_checksum_ok_but_not_a_sha1 (ui.tests.test_service.ServiceTestCase) ... ok |
232 | lookup_revision (ui.tests.test_service.ServiceTestCase) ... ok |
233 | lookup_revision_by (ui.tests.test_service.ServiceTestCase) ... ok |
234 | lookup_revision_by_nothing_found (ui.tests.test_service.ServiceTestCase) ... ok |
235 | lookup_revision_log (ui.tests.test_service.ServiceTestCase) ... ok |
236 | lookup_revision_msg_absent (ui.tests.test_service.ServiceTestCase) ... ok |
237 | lookup_revision_msg_norev (ui.tests.test_service.ServiceTestCase) ... ok |
238 | lookup_revision_msg_ok (ui.tests.test_service.ServiceTestCase) ... ok |
239 | lookup_revision_through_ko_not_implemented (ui.tests.test_service.ServiceTestCase) ... ok |
240 | lookup_revision_through_with_context (ui.tests.test_service.ServiceTestCase) ... ok |
241 | lookup_revision_through_with_context_by (ui.tests.test_service.ServiceTestCase) ... ok |
242 | lookup_revision_through_with_revision (ui.tests.test_service.ServiceTestCase) ... ok |
243 | lookup_revision_through_with_revision_by (ui.tests.test_service.ServiceTestCase) ... ok |
244 | lookup_revision_with_context (ui.tests.test_service.ServiceTestCase) ... ok |
245 | lookup_revision_with_context_by (ui.tests.test_service.ServiceTestCase) ... ok |
246 | lookup_revision_with_context_by_ko (ui.tests.test_service.ServiceTestCase) ... ok |
247 | lookup_revision_with_context_ko_not_a_sha1_1 (ui.tests.test_service.ServiceTestCase) ... ok |
248 | lookup_revision_with_context_ko_not_a_sha1_2 (ui.tests.test_service.ServiceTestCase) ... ok |
249 | lookup_revision_with_context_ko_root_sha1_git_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok |
250 | lookup_revision_with_context_ko_sha1_git_does_not_exist (ui.tests.test_service.ServiceTestCase) ... ok |
251 | lookup_revision_with_context_sha1_git_root_already_retrieved_as_dict (ui.tests.test_service.ServiceTestCase) ... ok |
252 | stat_counters (ui.tests.test_service.ServiceTestCase) ... ok |
253 | test_upload_and_search (ui.tests.test_service.ServiceTestCase) ... ok |
254 | allowed_file_denied (ui.tests.test_upload.UploadTestCase) ... ok |
255 | allowed_file_ok (ui.tests.test_upload.UploadTestCase) ... ok |
256 | cleanup_ok (ui.tests.test_upload.UploadTestCase) ... ok |
257 | cleanup_should_fail (ui.tests.test_upload.UploadTestCase) ... ok |
258 | save_in_upload_folder_file_not_allowed (ui.tests.test_upload.UploadTestCase) ... ok |
259 | save_in_upload_folder_no_file (ui.tests.test_upload.UploadTestCase) ... ok |
260 | save_in_upload_folder_ok (ui.tests.test_upload.UploadTestCase) ... ok |
261 | enrich_content_with_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok |
262 | enrich_content_without_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok |
263 | enrich_directory_no_type (ui.tests.test_utils.UtilsTestCase) ... ok |
264 | enrich_directory_with_context_and_type_dir (ui.tests.test_utils.UtilsTestCase) ... ok |
265 | enrich_directory_with_context_and_type_file (ui.tests.test_utils.UtilsTestCase) ... ok |
266 | enrich_entity_identity (ui.tests.test_utils.UtilsTestCase) ... ok |
267 | enrich_entity_with_sha1 (ui.tests.test_utils.UtilsTestCase) ... ok |
268 | enrich_release_0 (ui.tests.test_utils.UtilsTestCase) ... ok |
269 | enrich_release_1 (ui.tests.test_utils.UtilsTestCase) ... ok |
270 | enrich_release_2 (ui.tests.test_utils.UtilsTestCase) ... ok |
271 | enrich_release_3 (ui.tests.test_utils.UtilsTestCase) ... ok |
272 | enrich_release_4 (ui.tests.test_utils.UtilsTestCase) ... ok |
273 | enrich_revision_with_children_and_parent_no_dir (ui.tests.test_utils.UtilsTestCase) ... ok |
274 | enrich_revision_without_children_or_parent (ui.tests.test_utils.UtilsTestCase) ... ok |
275 | filter_endpoints_1 (ui.tests.test_utils.UtilsTestCase) ... ok |
276 | filter_endpoints_2 (ui.tests.test_utils.UtilsTestCase) ... ok |
277 | filter_field_keys_dict (ui.tests.test_utils.UtilsTestCase) ... ok |
278 | filter_field_keys_dict_unknown_keys (ui.tests.test_utils.UtilsTestCase) ... ok |
279 | filter_field_keys_list (ui.tests.test_utils.UtilsTestCase) ... ok |
280 | filter_field_keys_list_unknown_keys (ui.tests.test_utils.UtilsTestCase) ... ok |
281 | filter_field_keys_other (ui.tests.test_utils.UtilsTestCase) ... ok |
282 | fmap (ui.tests.test_utils.UtilsTestCase) ... ok |
283 | parse_timestamp (ui.tests.test_utils.UtilsTestCase) ... ok |
284 | person_to_string (ui.tests.test_utils.UtilsTestCase) ... ok |
285 | prepare_data_for_view (ui.tests.test_utils.UtilsTestCase) ... ok |
286 | prepare_data_for_view_default_encoding (ui.tests.test_utils.UtilsTestCase) ... ok |
287 | prepare_data_for_view_ko_cannot_decode (ui.tests.test_utils.UtilsTestCase) ... ok |
288 | |
289 | ---------------------------------------------------------------------- |
290 | Ran 285 tests in 2.060s |
291 | |
292 | OK |
293 |
1 | api_revision {'sha1_git': 'rev-id'} |
---|---|
2 | api_revision_log {'sha1_git': 'rev-id'} |
3 | api_revision_history {'sha1_git_root': 'sha1_git_root', 'sha1_git': '123'} |
4 | api_revision_history {'sha1_git_root': 'sha1_git_root', 'sha1_git': '456'} |
5 | api_revision {'sha1_git': 'rev-id'} |
6 | api_revision_log {'sha1_git': 'rev-id'} |
7 | api_person {'person_id': '1'} |
8 | api_person {'person_id': '2'} |
9 | api_directory {'sha1_git': '123'} |
10 |
Update environment from working copy
Update environment from working copy
- When
- Completed at May 30 2016, 3:53 PM · Built for 8 s
- Status
Passed
1 empty logs are hidden. Show all logs.
1 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-fetcher-googlecode |
---|---|
2 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-fetcher-googlecode |
3 | Already up-to-date. |
4 | |
5 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-cloner-git |
6 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-cloner-git |
7 | Already up-to-date. |
8 | |
9 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/snippets |
10 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/snippets |
11 | Already up-to-date. |
12 | |
13 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-lister-github |
14 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-lister-github |
15 | Already up-to-date. |
16 | |
17 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-core |
18 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-core |
19 | Already up-to-date. |
20 | |
21 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-antelink |
22 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-antelink |
23 | Already up-to-date. |
24 | |
25 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-dir |
26 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-dir |
27 | Already up-to-date. |
28 | |
29 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-git |
30 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-git |
31 | Already up-to-date. |
32 | |
33 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-debian |
34 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-debian |
35 | Already up-to-date. |
36 | |
37 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-core |
38 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-core |
39 | Already up-to-date. |
40 | |
41 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-model |
42 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-model |
43 | Already up-to-date. |
44 | |
45 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-svn |
46 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-svn |
47 | Already up-to-date. |
48 | |
49 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-tar |
50 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-loader-tar |
51 | Already up-to-date. |
52 | |
53 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-py-template |
54 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-py-template |
55 | Already up-to-date. |
56 | |
57 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-scheduler |
58 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-scheduler |
59 | Already up-to-date. |
60 | |
61 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage |
62 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage |
63 | Already up-to-date. |
64 | |
65 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage-testdata |
66 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-storage-testdata |
67 | Already up-to-date. |
68 | |
69 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-web-ui |
70 | mr update: /home/temp-drydock/drydock/workingcopy-163/repo/swh-environment/swh-web-ui |
71 | From ssh://forge.softwareheritage.org/diffusion/DWUI/swh-web-ui |
72 | d99ae9c..7a0cfff master -> origin/master |
73 | Updating d99ae9c..7a0cfff |
74 | Fast-forward |
75 | swh/web/ui/converters.py | 1 + |
76 | swh/web/ui/service.py | 31 ++++++++++ |
77 | swh/web/ui/tests/test_service.py | 117 ++++++++++++++++++++++++++++++++++++- |
78 | swh/web/ui/tests/views/test_api.py | 68 +++++++++++++++++++++ |
79 | swh/web/ui/views/api.py | 24 ++++++++ |
80 | 5 files changed, 240 insertions(+), 1 deletion(-) |
81 | |
82 | mr update: finished (18 ok) |
83 |
Clone on Software Heritage Worker
Clone on Software Heritage Worker
- When
- Completed at May 30 2016, 3:53 PM · Built instantly
- Status
Passed