code: def test_effectscatter_item_base(fake_writer):
      x_axis = Faker.choose()
      chart_item = [
          opts.EffectScatterItem(name=d[0], value=d[1])
          for d in list(zip(x_axis, Faker.values()))
      ]
  
      c = EffectScatter().add_xaxis(x_axis).add_yaxis("", chart_item)
      c.render()
      _, content = fake_writer.call_args[0]
      assert_equal(c.theme, "white")
      assert_equal(c.renderer, "canvas")
  
imports: from unittest.mock import patch
  from nose.tools import assert_equal
  from pyecharts import options
  from pyecharts.charts import EffectScatter
  from pyecharts.faker import Faker
label_desc: Use image node_id 2 for calling a global function with example usage: test_effectscatter_item_base(fake_writer) without return types