code: def testRSI2(self):
      files = []
      for year in range(2009, 2013):
          for symbol in ["DIA"]:
              fileName = "%s-%d-yahoofinance.csv" % (symbol, year)
              files.append(os.path.join("samples", "data", fileName))
  
      with common.CopyFiles(files, "."):
          code = """import sys
  sys.path.append('samples')
  import rsi2_sample
  rsi2_sample.main(False)
  """
          res = common.run_python_code(code)
  
          self.assertTrue(res.exit_ok())
          self.assertEqual(
              res.get_output_lines()[-4:],
              common.tail_file("rsi2_sample.output", 4),
          )
  
imports: import os
  import six
  from testcases import common
label_desc: Use image node_id 4 for calling the SampleStratTestCase obj's underlying member method code with example usage: obj.testRSI2() without return types