← Về thư mục
tests/test_annotation_version_binding.py
- _Hub · class · L38-L46 — class _Hub
- init · method · L39-L40 — def init(self)
- emitter · method · L42-L43 — def emitter(self, root_frame_id)
- broadcast · method · L45-L46 — def broadcast(self, root_frame_id, event)
- _cfg · function · L49-L53 — def _cfg(tmp_path)
- _runner · function · L56-L57 — def _runner(tmp_path, hub)
- _png · function · L60-L71 — def _png(width: int, height: int, colour: tuple[int, int, int]) -> bytes
- _png_size · function · L74-L77 — def _png_size(raw: bytes) -> tuple[int, int]
- _record · function · L80-L92 — def _record(store, path: Path, data: bytes, *, frame_id: str, filename=None) -> dict
- _pin_through_the_route · function · L95-L127 — def _pin_through_the_route(cfg, runner, frame_id: str, artifact_id: str) -> dict
- _vision · function · L131-L134 — def _vision(monkeypatch)
- _content · function · L137-L139 — def _content(runner, hub, annos, text="what about this?")
- _images · function · L142-L143 — def _images(parts)
- _problem_reasons · function · L146-L149 — def _problem_reasons(hub)
- _model_note · function · L152-L161 — def _model_note(parts)
- test_the_pin_records_the_version_the_user_was_looking_at · function · L169-L190 — def test_the_pin_records_the_version_the_user_was_looking_at(tmp_path)
- test_the_sent_bytes_are_the_pinned_version_after_the_figure_is_overwritten · function · L193-L235 — def test_the_sent_bytes_are_the_pinned_version_after_the_figure_is_overwritten( tmp_path, _vision )
- test_an_overwritten_live_file_is_refused_rather_than_substituted · function · L238-L263 — def test_an_overwritten_live_file_is_refused_rather_than_substituted(tmp_path, _vision)
- test_a_pin_with_no_recorded_version_still_resolves_the_artifact · function · L266-L299 — def test_a_pin_with_no_recorded_version_still_resolves_the_artifact(tmp_path, _vision)
- test_the_magic_number_decides_the_type_not_the_filename · function · L307-L357 — def test_the_magic_number_decides_the_type_not_the_filename(tmp_path, _vision)
- test_a_sniff_accepts_the_shipped_raster_types_and_nothing_else · function · L360-L374 — def test_a_sniff_accepts_the_shipped_raster_types_and_nothing_else()
- test_a_deleted_figure_is_reported_to_both_channels · function · L382-L400 — def test_a_deleted_figure_is_reported_to_both_channels(tmp_path, _vision)
- test_bytes_that_sniff_as_an_image_and_will_not_decode_are_reported · function · L403-L436 — def test_bytes_that_sniff_as_an_image_and_will_not_decode_are_reported( tmp_path, monkeypatch, _vision )
- test_an_enormous_source_file_is_refused_before_it_is_read · function · L439-L476 — def test_an_enormous_source_file_is_refused_before_it_is_read( tmp_path, monkeypatch, _vision )
- test_vision_is_resolved_for_the_model_not_only_the_provider · function · L484-L538 — def test_vision_is_resolved_for_the_model_not_only_the_provider(tmp_path, monkeypatch)
- _schema_sql · function · L546-L552 — def _schema_sql() -> str
- test_an_existing_install_gains_the_binding_columns · function · L555-L602 — def test_an_existing_install_gains_the_binding_columns(tmp_path)
- test_a_v13_install_gains_the_reservation_column · function · L605-L674 — def test_a_v13_install_gains_the_reservation_column(tmp_path)
- test_a_fresh_database_declares_the_reservation_column_canonically · function · L677-L688 — def test_a_fresh_database_declares_the_reservation_column_canonically(tmp_path)
- test_a_v14_reserved_pin_is_given_back_on_the_upgrade_to_v15 · function · L691-L797 — def test_a_v14_reserved_pin_is_given_back_on_the_upgrade_to_v15(tmp_path)