code: def test_map_base(fake_writer):
      c = Map().add(
          "商家A",
          [list(z) for z in zip(Faker.provinces, Faker.values())],
          "china",
      )
      c.render()
      _, content = fake_writer.call_args[0]
      assert_equal(c.theme, "white")
      assert_equal(c.renderer, "canvas")
  
file_path: pyecharts/test/test_map.py
imports: from unittest.mock import patch
  import simplejson
  from nose.tools import assert_equal
  from pyecharts import options
  from pyecharts.charts import Map
  from pyecharts.faker import Faker
label_desc: Use image node_id 1 for calling a global function with example usage: test_map_base(fake_writer) without return types