code: def test_run(main=False):
      datas = [testcommon.getdata(i) for i in range(chkdatas)]
      testcommon.runtest(
          datas,
          TS2,
          main=main,
          plot=main,
          chkind=chkind,
          chkmin=chkmin,
          chkvals=chkvals,
      )
  
file_path: backtrader/tests/test_ind_oscillator.py
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) without return types