Skip to content

Merge pull request #281 from painebot/tkp/testipynb #308

Merge pull request #281 from painebot/tkp/testipynb

Merge pull request #281 from painebot/tkp/testipynb #308

GitHub Actions / Test Results succeeded Jun 5, 2024 in 0s

All 136 tests pass, 3 skipped in 1m 44s

139 tests  ±0   136 ✅ ±0   1m 44s ⏱️ -1s
  3 suites ±0     3 💤 ±0 
  2 files   ±0     0 ❌ ±0 

Results for commit 4a79c19. ± Comparison against earlier commit 43c0214.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

3 skipped tests found

There are 3 skipped tests, see "Raw output" for the full list of skipped tests.
Raw output
nbcelltests.tests.test_shared ‑ test_cell_injected_into_test[\\\n%celll\n-None-None]
nbcelltests.tests.test_shared ‑ test_get_cell_inj_span[%celll-None]
nbcelltests.tests.test_test.TestSomeSanity ‑ test_bad_magic_does_let_everything_pass

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

139 tests found

There are 139 tests, see "Raw output" for the full list of tests.
Raw output
Checks activate Check activate ‑ Checks activate Check activate
Checks exports Check extension ‑ Checks exports Check extension
nbcelltests.tests.test_extension.TestExtension ‑ test_load_jupyter_server_extension
nbcelltests.tests.test_init.TestInit ‑ test__jupyter_server_extension_paths
nbcelltests.tests.test_lint ‑ test_cells_per_notebook[-1-10-expected_ret4-True]
nbcelltests.tests.test_lint ‑ test_cells_per_notebook[0-10-expected_ret2-False]
nbcelltests.tests.test_lint ‑ test_cells_per_notebook[10-0-expected_ret3-True]
nbcelltests.tests.test_lint ‑ test_cells_per_notebook[5-10-expected_ret0-False]
nbcelltests.tests.test_lint ‑ test_cells_per_notebook[5-3-expected_ret1-True]
nbcelltests.tests.test_lint ‑ test_kernelspec[False-kernelspec3-expected_ret3-True]
nbcelltests.tests.test_lint ‑ test_kernelspec[False-kernelspec4-expected_ret4-True]
nbcelltests.tests.test_lint ‑ test_kernelspec[kernelspec_requirements0-kernelspec0-expected_ret0-True]
nbcelltests.tests.test_lint ‑ test_kernelspec[kernelspec_requirements1-kernelspec1-expected_ret1-False]
nbcelltests.tests.test_lint ‑ test_kernelspec[kernelspec_requirements2-kernelspec2-expected_ret2-True]
nbcelltests.tests.test_lint ‑ test_lines_per_cell[-1-cell_lines2-expected_ret2-True]
nbcelltests.tests.test_lint ‑ test_lines_per_cell[3-cell_lines0-expected_ret0-False]
nbcelltests.tests.test_lint ‑ test_lines_per_cell[3-cell_lines1-expected_ret1-True]
nbcelltests.tests.test_lint ‑ test_lint_class_definitions[-1-10-expected_ret4-True]
nbcelltests.tests.test_lint ‑ test_lint_class_definitions[0-10-expected_ret2-False]
nbcelltests.tests.test_lint ‑ test_lint_class_definitions[10-0-expected_ret3-True]
nbcelltests.tests.test_lint ‑ test_lint_class_definitions[5-10-expected_ret0-False]
nbcelltests.tests.test_lint ‑ test_lint_class_definitions[5-3-expected_ret1-True]
nbcelltests.tests.test_lint ‑ test_lint_function_definitions[-1-10-expected_ret4-True]
nbcelltests.tests.test_lint ‑ test_lint_function_definitions[0-10-expected_ret2-False]
nbcelltests.tests.test_lint ‑ test_lint_function_definitions[10-0-expected_ret3-True]
nbcelltests.tests.test_lint ‑ test_lint_function_definitions[5-10-expected_ret0-False]
nbcelltests.tests.test_lint ‑ test_lint_function_definitions[5-3-expected_ret1-True]
nbcelltests.tests.test_lint ‑ test_magics[None-None-magics0-expected_ret0-True]
nbcelltests.tests.test_lint ‑ test_magics[None-None-magics1-expected_ret1-True]
nbcelltests.tests.test_lint ‑ test_magics[None-magics_denylist5-magics5-expected_ret5-True]
nbcelltests.tests.test_lint ‑ test_magics[None-magics_denylist6-magics6-expected_ret6-False]
nbcelltests.tests.test_lint ‑ test_magics[magics_allowlist2-None-magics2-expected_ret2-False]
nbcelltests.tests.test_lint ‑ test_magics[magics_allowlist3-None-magics3-expected_ret3-True]
nbcelltests.tests.test_lint ‑ test_magics[magics_allowlist4-None-magics4-expected_ret4-False]
nbcelltests.tests.test_lint ‑ test_magics_lists_sanity
nbcelltests.tests.test_lint ‑ test_runWithHTMLReturn_fail
nbcelltests.tests.test_lint ‑ test_runWithHTMLReturn_norules
nbcelltests.tests.test_lint ‑ test_runWithHTMLReturn_pass
nbcelltests.tests.test_lint ‑ test_run[rules0-None-expected_ret0-True]
nbcelltests.tests.test_lint ‑ test_run[rules1-None-expected_ret1-True]
nbcelltests.tests.test_lint ‑ test_run[rules2-None-expected_ret2-False]
nbcelltests.tests.test_lint ‑ test_run[rules3-None-expected_ret3-False]
nbcelltests.tests.test_lint ‑ test_run[rules4-# LINT_DISABLE: notebook_(.*)$-expected_ret4-True]
nbcelltests.tests.test_lint ‑ test_run[rules5-None-expected_ret5-True]
nbcelltests.tests.test_lint ‑ test_run[rules6-None-expected_ret6-False]
nbcelltests.tests.test_shared ‑ test_cell_injected_into_test[\\\n# no %cell\n-False-None]
nbcelltests.tests.test_shared ‑ test_cell_injected_into_test[\\\n%cell # no %cell\n-True-None]
nbcelltests.tests.test_shared ‑ test_cell_injected_into_test[\\\n%cell l\n-True-None]
nbcelltests.tests.test_shared ‑ test_cell_injected_into_test[\\\n%cell;x\n-True-None]
nbcelltests.tests.test_shared ‑ test_cell_injected_into_test[\\\n%cell\n# no %cell\n-expected11-exception11]
nbcelltests.tests.test_shared ‑ test_cell_injected_into_test[\\\n%cell\n%cell\n-True-None]
nbcelltests.tests.test_shared ‑ test_cell_injected_into_test[\\\n%cell\n-True-None]
nbcelltests.tests.test_shared ‑ test_cell_injected_into_test[\\\n%celll\n-None-None]
nbcelltests.tests.test_shared ‑ test_cell_injected_into_test[\\\n-None-None]
nbcelltests.tests.test_shared ‑ test_cell_injected_into_test[\\\nx = 1\n%cell\n-True-None]
nbcelltests.tests.test_shared ‑ test_cell_injected_into_test[\\\nx = 1\nif x==1:\n    %cell\n-True-None]
nbcelltests.tests.test_shared ‑ test_cell_injected_into_test[\\\nx = 1\nif x==1:\n    pass\n    # no %cell\n-False-None]
nbcelltests.tests.test_shared ‑ test_empty_ast
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_cell_count_basic
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_cell_count_coverage
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_cell_count_more
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_cell_count_noncode
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_cell_lines_basic
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_cell_lines_more
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_cell_lines_noncode
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_cell_test_coverage
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_classes_basic
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_classes_more
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_classes_noncode
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_disable_bad_regex
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_disable_cells_count
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_disable_cells_count_in_empty_cell
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_disable_none
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_disable_notpresent
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_functions_basic
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_functions_more
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_functions_noncode
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_magics
nbcelltests.tests.test_shared ‑ test_extract_extrametadata_magics_noncode
nbcelltests.tests.test_shared ‑ test_get_cell_inj_span[    %cell-expected4]
nbcelltests.tests.test_shared ‑ test_get_cell_inj_span[# %cell-None]
nbcelltests.tests.test_shared ‑ test_get_cell_inj_span[# no %cell-None]
nbcelltests.tests.test_shared ‑ test_get_cell_inj_span[%cell-expected0]
nbcelltests.tests.test_shared ‑ test_get_cell_inj_span[%cell;x-expected1]
nbcelltests.tests.test_shared ‑ test_get_cell_inj_span[%celll-None]
nbcelltests.tests.test_shared ‑ test_get_cell_inj_span[-None]
nbcelltests.tests.test_shared ‑ test_get_coverage[0-0-0]
nbcelltests.tests.test_shared ‑ test_get_coverage[0-10-0]
nbcelltests.tests.test_shared ‑ test_get_coverage[10-0-0]
nbcelltests.tests.test_shared ‑ test_get_coverage[10-10-100]
nbcelltests.tests.test_shared ‑ test_get_coverage[5-10-50]
nbcelltests.tests.test_shared ‑ test_get_coverage_nb
nbcelltests.tests.test_shared ‑ test_only_whitespace
nbcelltests.tests.test_test ‑ test_kernel_selection[_kernel_check.ipynb-False--NoSuchKernel-NOBODY WOULD EVER CALL A KERNEL THIS]
nbcelltests.tests.test_test ‑ test_kernel_selection[_kernel_check.ipynb-False-OR THIS-NoSuchKernel-None]
nbcelltests.tests.test_test ‑ test_kernel_selection[_kernel_check.ipynb-True--None-:nbval-parent-env]
nbcelltests.tests.test_test ‑ test_kernel_selection[_kernel_check.ipynb-True-something-ValueError-mutually exclusive]
nbcelltests.tests.test_test ‑ test_kernel_selection[_kernel_check1.ipynb-False-python3-None-None]
nbcelltests.tests.test_test.TestCellCounting ‑ test_count
nbcelltests.tests.test_test.TestCellCounting ‑ test_coverage
nbcelltests.tests.test_test.TestCellCounting ‑ test_skips
nbcelltests.tests.test_test.TestCellCounting ‑ test_still_ok_after_markdown
nbcelltests.tests.test_test.TestCellCounting ‑ test_still_ok_after_raw
nbcelltests.tests.test_test.TestCellCoverage ‑ test_coverage
nbcelltests.tests.test_test.TestCoverage ‑ test_basic_runWithHTMLReturn_fail
nbcelltests.tests.test_test.TestCoverage ‑ test_basic_runWithHTMLReturn_pass
nbcelltests.tests.test_test.TestCoverage ‑ test_basic_runWithReport_pass
nbcelltests.tests.test_test.TestCoverage ‑ test_basic_runWithReturn_fail
nbcelltests.tests.test_test.TestCoverage ‑ test_basic_runWithReturn_pass
nbcelltests.tests.test_test.TestCumulativeRun ‑ test_coverage
nbcelltests.tests.test_test.TestCumulativeRun ‑ test_state
nbcelltests.tests.test_test.TestExceptionInCell ‑ test_coverage
nbcelltests.tests.test_test.TestExceptionInCell ‑ test_exception_in_cell_is_detected
nbcelltests.tests.test_test.TestExceptionInTest ‑ test_coverage
nbcelltests.tests.test_test.TestExceptionInTest ‑ test_exception_in_test_is_detected
nbcelltests.tests.test_test.TestFailureInTest ‑ test_coverage
nbcelltests.tests.test_test.TestFailureInTest ‑ test_failure_is_detected
nbcelltests.tests.test_test.TestInputCellMultilineString ‑ test_input_cell_multiline_string
nbcelltests.tests.test_test.TestInputCellNewlineString ‑ test_input_cell_newline_string
nbcelltests.tests.test_test.TestInputTestInjectionComment ‑ test_input_celltest_injection_comment
nbcelltests.tests.test_test.TestInputTestMultilineString ‑ test_input_celltest_multiline_string
nbcelltests.tests.test_test.TestInputTestNewlineString ‑ test_input_celltest_newline_string
nbcelltests.tests.test_test.TestKernelCwd ‑ test_coverage
nbcelltests.tests.test_test.TestKernelCwd ‑ test_file_in_nb_dir
nbcelltests.tests.test_test.TestMethodGenerationError ‑ test_code_not_injected_or_mocked
nbcelltests.tests.test_test.TestMethodGenerationError ‑ test_coverage
nbcelltests.tests.test_test.TestMethodGenerationError ‑ test_emptyast_code_cell_with_test_causes_error
nbcelltests.tests.test_test.TestMethodGenerationError ‑ test_non_code_cell_with_test_causes_error
nbcelltests.tests.test_test.TestMethodGenerationError ‑ test_onlywhitespace_code_cell_with_test_causes_error
nbcelltests.tests.test_test.TestNoCodeCells ‑ test_coverage
nbcelltests.tests.test_test.TestNoCodeCells ‑ test_no_code_cells
nbcelltests.tests.test_test.TestSkips ‑ test_coverage
nbcelltests.tests.test_test.TestSkips ‑ test_noskip_with_completely_empty_test
nbcelltests.tests.test_test.TestSkips ‑ test_noskip_with_deliberate_no_cell_injection
nbcelltests.tests.test_test.TestSkips ‑ test_noskip_with_no_test_field_in_metadata
nbcelltests.tests.test_test.TestSkips ‑ test_skip_completely_empty_code_cell
nbcelltests.tests.test_test.TestSkips ‑ test_skip_no_code_code_cell
nbcelltests.tests.test_test.TestSomeSanity ‑ test_bad_magic_does_let_everything_pass
nbcelltests.tests.test_test.TestSomeSanity ‑ test_coverage