code: def test_utils_produce_require_dict():
      cfg = utils.produce_require_dict(
          utils.OrderedSet("echarts"), "https://example.com"
      )
      assert_equal(
          cfg["config_items"],
          ["'echarts':'https://example.comecharts.min'"],
      )
      assert_equal(cfg["libraries"], ["'echarts'"])
  
      cfg_1 = utils.produce_require_dict(
          utils.OrderedSet("https://api.map.baidu.com"),
          "https://example.com",
      )
      assert_equal(
          cfg_1["config_items"],
          ["'baidu_map_api25':'https://api.map.baidu.com'"],
      )
      assert_equal(cfg_1["libraries"], ["'baidu_map_api25'"])
  
imports: from nose.tools import assert_equal
  from pyecharts.commons import utils
  from pyecharts.datasets import EXTRA
label_desc: Use image node_id 1 for calling a global function with example usage: test_utils_produce_require_dict() without return types