code: def test_run(main=False, exbar=False):
      data = testcommon.getdata(0)
      data.replay(timeframe=bt.TimeFrame.Weeks, compression=1)
      datas = [data]
      testcommon.runtest(
          datas,
          testcommon.TestStrategy,
          main=main,
          plot=main,
          chkind=chkind,
          chkmin=chkmin,
          chkvals=chkvals,
          chknext=chknext,
          chkargs=chkargs,
          runonce=False,
          preload=False,
          exbar=exbar,
      )
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import testcommon
  import backtrader
  import backtrader.indicators
label_desc: Use image node_id 1 for calling a global function with example usage: test_run(main, exbar) without return types