code: def test_bar_item_base(fake_writer):
      x_axis = ["A", "B", "C"]
      y_axis_0 = [1, 2, 4]
      line_item_0 = [
          opts.LineItem(name=d[0], value=d[1])
          for d in list(zip(x_axis, y_axis_0))
      ]
      y_axis_1 = [2, 3, 6]
      line_item_1 = [
          opts.LineItem(name=d[0], value=d[1])
          for d in list(zip(x_axis, y_axis_1))
      ]
  
      c = (
          Line()
          .add_xaxis(x_axis)
          .add_yaxis("series0", line_item_0)
          .add_yaxis("series1", line_item_1)
      )
      c.render()
      _, content = fake_writer.call_args[0]
      assert_equal(c.theme, "white")
      assert_equal(c.renderer, "canvas")
  
file_path: pyecharts/test/test_line.py
imports: from unittest.mock import patch
  from nose.tools import assert_equal, assert_in
  from pyecharts import options
  from pyecharts.charts import Line
label_desc: Use image node_id 2 for calling a global function with example usage: test_bar_item_base(fake_writer) without return types