code: def test_page_jshost_custom():
      from pyecharts.globals import CurrentConfig
  
      default_host = CurrentConfig.ONLINE_HOST
      custom_host = "http://localhost:8888/assets/"
      CurrentConfig.ONLINE_HOST = custom_host
      bar = _create_bar()
      line = _create_line()
      page = Page().add(bar, line)
      assert_equal(page.js_host, custom_host)
      CurrentConfig.ONLINE_HOST = default_host
  
imports: from typing import Iterable
  from nose.tools import assert_equal, assert_in, assert_not_equal, assert_not_in, assert_true, raises
  from pyecharts.charts import Bar, Line, Page
  from pyecharts.commons.utils import OrderedSet
  from pyecharts.globals import ThemeType
  from pyecharts.components import Table
  from pyecharts import options
  from pyecharts.faker import Faker
label_desc: Use image node_id 7 for calling a global function with example usage: test_page_jshost_custom() without return types