code: def test_notebook(notebook_filename):
      _check_notebook_cell_outputs(NOTEBOOKS_PATH + notebook_filename)
      errors = _notebook_run(NOTEBOOKS_PATH + notebook_filename)
      assert len(errors) == 0
  
file_path: DiCE/tests/test_notebooks.py
imports: import os
  import subprocess
  import sys
  import tempfile
  import nbformat
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: test_notebook(notebook_filename) without return types