code: def test_image_render_notebook():
      CurrentConfig.NOTEBOOK_TYPE = NotebookType.JUPYTER_NOTEBOOK
      image = _gen_image()
      content = image.render_notebook().__html__()
      assert_in(TEST_SRC, content)
  
file_path: pyecharts/test/test_image.py
imports: from unittest.mock import patch
  from nose.tools import assert_in
  from pyecharts import options
  from pyecharts.components import Image
  from pyecharts.globals import CurrentConfig, NotebookType
label_desc: Use image node_id 4 for calling a global function with example usage: test_image_render_notebook() without return types