← Về thư mục
tests/test_notebook_export.py
- _Store · class · L13-L62 — class _Store
- list_branch_messages · method · L14-L21 — def list_branch_messages(self, root_frame_id, *, branch_id=None, limit=None): # A session with cells and no conversation. Present rather than absent # because the export's port requires it: a store that cannot answer # this cannot be exported, and discovering that at runtime behind a #
getattr fallback is how the Inputs section came to render nothing # in production while its tests were green.
- list_cells · method · L23-L62 — def list_cells(self, root_frame_id)
- test_python_and_r_exports_are_separate_read_only_notebooks · function · L65-L90 — def test_python_and_r_exports_are_separate_read_only_notebooks()
- test_export_bundle_is_deterministic_and_manifest_checksums_match · function · L93-L110 — def test_export_bundle_is_deterministic_and_manifest_checksums_match()
- test_unknown_notebook_language_is_rejected · function · L113-L115 — def test_unknown_notebook_language_is_rejected()
- test_markdown_keeps_both_languages_in_execution_order · function · L121-L136 — def test_markdown_keeps_both_languages_in_execution_order()
- test_markdown_keeps_a_failed_cell_and_says_it_failed · function · L139-L148 — def test_markdown_keeps_a_failed_cell_and_says_it_failed()
- test_the_export_descriptor_names_markdown_as_markdown · function · L151-L160 — def test_the_export_descriptor_names_markdown_as_markdown()
- _real_store · function · L176-L182 — def _real_store(tmp_path)
- _turn_with_refs · function · L185-L190 — def _turn_with_refs(store, root, text, refs)
- _ref · function · L193-L194 — def _ref(name, version, **extra)
- test_markdown_names_the_versions_the_real_store_recorded · function · L197-L215 — def test_markdown_names_the_versions_the_real_store_recorded(tmp_path)
- test_markdown_does_not_export_the_turn_text · function · L218-L229 — def test_markdown_does_not_export_the_turn_text(tmp_path)
- test_markdown_reads_past_the_stores_default_message_page · function · L232-L250 — def test_markdown_reads_past_the_stores_default_message_page(tmp_path)
- test_markdown_deduplicates_by_version_not_by_name · function · L253-L266 — def test_markdown_deduplicates_by_version_not_by_name(tmp_path)
- test_markdown_says_nothing_about_inputs_when_there_were_none · function · L269-L277 — def test_markdown_says_nothing_about_inputs_when_there_were_none(tmp_path)
- test_markdown_ignores_metadata_that_is_not_the_expected_shape · function · L280-L294 — def test_markdown_ignores_metadata_that_is_not_the_expected_shape(tmp_path)
- test_markdown_says_exactly_how_many_inputs_it_did_not_list · function · L297-L313 — def test_markdown_says_exactly_how_many_inputs_it_did_not_list(tmp_path)
- _fork · function · L316-L330 — def _fork(store, root, *, branch_id, message_cursor=None)
- test_a_fork_inherits_the_inputs_its_parent_was_given · function · L333-L376 — def test_a_fork_inherits_the_inputs_its_parent_was_given(tmp_path)
- test_the_export_asks_for_the_active_branch · function · L379-L405 — def test_the_export_asks_for_the_active_branch(tmp_path)
- spy · function · L391-L393 — def spy(root_frame_id, *, branch_id=None, limit=300)
- test_the_gateway_markdown_export_carries_the_inputs · function · L408-L437 — def test_the_gateway_markdown_export_carries_the_inputs(tmp_path)
- test_a_reader_error_is_not_swallowed_into_the_paged_default · function · L440-L455 — def test_a_reader_error_is_not_swallowed_into_the_paged_default(tmp_path)
- _Broken · class · L450-L452 — class _Broken(_Store)
- list_branch_messages · method · L451-L452 — def list_branch_messages(self, root_frame_id, *, branch_id=None, limit=None)