scrapbook.tests package

Submodules

scrapbook.tests.test_api module

scrapbook.tests.test_api.test_frame(mock_display, name, obj, data, metadata)
scrapbook.tests.test_api.test_glue(mock_display, name, scrap, storage, data)

scrapbook.tests.test_notebooks module

scrapbook.tests.test_notebooks.no_exec_result()
scrapbook.tests.test_notebooks.notebook_result()
scrapbook.tests.test_notebooks.test_bad_ext()
scrapbook.tests.test_notebooks.test_bad_path()
scrapbook.tests.test_notebooks.test_cell_timing(notebook_result)
scrapbook.tests.test_notebooks.test_directory(notebook_result)
scrapbook.tests.test_notebooks.test_empty_metadata()
scrapbook.tests.test_notebooks.test_execution_counts(notebook_result)
scrapbook.tests.test_notebooks.test_filename(notebook_result)
scrapbook.tests.test_notebooks.test_frames(notebook_result)
scrapbook.tests.test_notebooks.test_malformed_cell_timing(no_exec_result)
scrapbook.tests.test_notebooks.test_malformed_execution_counts(no_exec_result)
scrapbook.tests.test_notebooks.test_malformed_execution_metrics(no_exec_result)
scrapbook.tests.test_notebooks.test_markdown()
scrapbook.tests.test_notebooks.test_metadata_but_empty_content()
scrapbook.tests.test_notebooks.test_missing_reframe(notebook_result)
scrapbook.tests.test_notebooks.test_missing_reframe_no_error(mock_display, notebook_result)
scrapbook.tests.test_notebooks.test_no_cells()
scrapbook.tests.test_notebooks.test_no_outputs()
scrapbook.tests.test_notebooks.test_papermill_dataframe(notebook_result)
scrapbook.tests.test_notebooks.test_papermill_metrics(notebook_result)
scrapbook.tests.test_notebooks.test_parameters(notebook_result)
scrapbook.tests.test_notebooks.test_reframe(mock_display, notebook_result)
scrapbook.tests.test_notebooks.test_scraps(notebook_result)

scrapbook.tests.test_scrapbooks module

class scrapbook.tests.test_scrapbooks.AnyMarkdownWith(data=None, url=None, filename=None, metadata=None)

Bases: IPython.core.display.Markdown

scrapbook.tests.test_scrapbooks.notebook_collection()
scrapbook.tests.test_scrapbooks.test_assign_from_path(notebook_collection)
scrapbook.tests.test_scrapbooks.test_combined_frames(notebook_collection)
scrapbook.tests.test_scrapbooks.test_combined_scraps(notebook_collection)
scrapbook.tests.test_scrapbooks.test_display(mock_display, notebook_collection)
scrapbook.tests.test_scrapbooks.test_display_frame_key_mismatches(mock_display, notebook_collection)
scrapbook.tests.test_scrapbooks.test_display_missing_frame_error(notebook_collection)
scrapbook.tests.test_scrapbooks.test_display_no_header(mock_display, notebook_collection)
scrapbook.tests.test_scrapbooks.test_display_specific_frame(mock_display, frames, notebook_collection)
scrapbook.tests.test_scrapbooks.test_display_specific_notebook(mock_display, keys, notebook_collection)
scrapbook.tests.test_scrapbooks.test_frames(notebook_collection)
scrapbook.tests.test_scrapbooks.test_papermill_dataframe(notebook_collection)
scrapbook.tests.test_scrapbooks.test_papermill_metrics(notebook_collection)
scrapbook.tests.test_scrapbooks.test_scraps(notebook_collection)

scrapbook.tests.test_translators module

class scrapbook.tests.test_translators.Dummy

Bases: object

scrapbook.tests.test_translators.registry()
scrapbook.tests.test_translators.test_json_load(test_input, expected)
scrapbook.tests.test_translators.test_json_load_failures(test_input)
scrapbook.tests.test_translators.test_json_translate(test_input, expected)
scrapbook.tests.test_translators.test_json_translate_failures(test_input)
scrapbook.tests.test_translators.test_load_data(registry)
scrapbook.tests.test_translators.test_registry_deregister(registry)
scrapbook.tests.test_translators.test_registry_invalid_register(registry)
scrapbook.tests.test_translators.test_registry_missing_deregister(registry)
scrapbook.tests.test_translators.test_registry_register(registry)
scrapbook.tests.test_translators.test_registry_reset(registry)
scrapbook.tests.test_translators.test_translate_data(registry)
scrapbook.tests.test_translators.test_unicode_load(test_input, expected)
scrapbook.tests.test_translators.test_unicode_translate(test_input, expected)

Module contents

scrapbook.tests.get_fixture_path(*args)
scrapbook.tests.get_notebook_dir(*args)
scrapbook.tests.get_notebook_path(*args)