code: def test_map_base_v2(fake_writer):
      c = (
          MapGlobe()
          .add(
              "商家A",
              [list(z) for z in zip(Faker.provinces, Faker.values())],
              "china",
          )
          .add_schema(maptype="china")
      )
      c.render()
      _, content = fake_writer.call_args[0]
      assert_in("document.createElement('canvas')", content)
      assert_equal(c.theme, "white")
      assert_equal(c.renderer, "canvas")
      assert_in("baseTexture", content)
  
imports: from unittest.mock import patch
  from nose.tools import assert_equal, assert_in
  from pyecharts.charts import MapGlobe
  from pyecharts.faker import Faker
  from pyecharts.globals import CurrentConfig, NotebookType
label_desc: Use image node_id 2 for calling a global function with example usage: test_map_base_v2(fake_writer) without return types