← Về thư mục
tests/test_artifact_index.py
- _Hub · class · L34-L39 — class _Hub
- emitter · method · L35-L36 — def emitter(self, root_frame_id)
- broadcast · method · L38-L39 — def broadcast(self, root_frame_id, event)
- _Client · class · L42-L67 — class _Client
- init · method · L43-L45 — def init(self, cfg, runner, data_dir)
- raw · method · L47-L63 — def raw(self, path)
- get · method · L65-L67 — def get(self, path)
- server · function · L71-L81 — def server(tmp_path)
- _project · function · L84-L86 — def _project(store, name="artifact-index")
- _save · function · L89-L110 — def _save( store, *, root_frame_id, project_id, filename, payload=b"x", content_type="text/plain", is_user_upload=False, artifact_id=None, )
- _set_created_at · function · L113-L119 — def _set_created_at(store, artifact_id: str, created_at: int) -> None
- _walk · function · L122-L140 — def _walk(client, project_id, **params)
- test_500_artifacts_first_page_is_at_most_50_and_a_request_never_exceeds_100 · function · L143-L176 — def test_500_artifacts_first_page_is_at_most_50_and_a_request_never_exceeds_100( server, )
- test_keyset_covers_a_same_timestamp_tie_exactly_once · function · L179-L199 — def test_keyset_covers_a_same_timestamp_tie_exactly_once(server)
- test_escaped_like_treats_percent_and_underscore_as_literals · function · L202-L257 — def test_escaped_like_treats_percent_and_underscore_as_literals(server)
- test_filters_combine_and_a_changed_filter_invalidates_the_cursor · function · L260-L321 — def test_filters_combine_and_a_changed_filter_invalidates_the_cursor(server)
- test_a_cursor_from_another_project_is_invalid · function · L324-L349 — def test_a_cursor_from_another_project_is_invalid(server)
- test_same_filename_across_sessions_and_versions_is_not_merged · function · L352-L395 — def test_same_filename_across_sessions_and_versions_is_not_merged(server)
- test_team_visibility_is_applied_before_limit · function · L398-L455 — def test_team_visibility_is_applied_before_limit(tmp_path)
- test_the_legacy_array_route_is_still_a_bare_array · function · L458-L494 — def test_the_legacy_array_route_is_still_a_bare_array(server)
- test_malformed_limit_and_origin_are_refused · function · L497-L511 — def test_malformed_limit_and_origin_are_refused(server)
- test_the_browse_index_exists_and_dropping_it_does_not_touch_rows · function · L514-L542 — def test_the_browse_index_exists_and_dropping_it_does_not_touch_rows(tmp_path)
- test_the_browse_index_step_rolls_back_when_it_fails_after_creating · function · L545-L574 — def test_the_browse_index_step_rolls_back_when_it_fails_after_creating(tmp_path)
- interrupted · function · L555-L560 — def interrupted(connection)