code: def test_chart_mark_line_opts(fake_writer):
      x_data = ["周一", "周二", "周三", "周四", "周五", "周六", "周日"]
      y_data1 = [140, 232, 101, 264, 90, 340, 250]
      y_data2 = [120, 282, 111, 234, 220, 340, 310]
      c = (
          Line()
          .add_xaxis(xaxis_data=x_data)
          .add_yaxis(
              series_name="品类 1", y_axis=y_data1, color="#80FFA5"
          )
          .add_yaxis(
              series_name="品类 2", y_axis=y_data2, color="#00DDFF"
          )
          .set_series_opts(markline_opts=opts.MarkLineOpts())
      )
      c.render()
      _, content = fake_writer.call_args[0]
      assert_in("markLine", content)
  
file_path: pyecharts/test/test_chart.py
imports: from unittest.mock import patch
  from nose.tools import assert_equal, assert_in
  from pyecharts import options
  from pyecharts.charts import Line, Bar
label_desc: Use image node_id 7 for calling a global function with example usage: test_chart_mark_line_opts(fake_writer) without return types