code: def testQuandl(self):
      files = []
      for year in range(2006, 2013):
          for symbol in ["GORO"]:
              fileName = "WIKI-%s-%d-quandl.csv" % (symbol, year)
              files.append(os.path.join("samples", "data", fileName))
      files.append(os.path.join("samples", "data", "quandl_gold_2.csv"))
  
      with common.CopyFiles(files, "."):
          code = """import sys
  sys.path.append('samples')
  import quandl_sample
  quandl_sample.main(False)
  """
          res = common.run_python_code(code)
          self.assertTrue(res.exit_ok())
          self.assertEqual(
              res.get_output_lines()[0:10],
              common.head_file("quandl_sample.output", 10),
          )
          self.assertEqual(
              res.get_output_lines()[-10:],
              common.tail_file("quandl_sample.output", 10),
          )
  
imports: import os
  import six
  from testcases import common
label_desc: Use image node_id 7 for calling the SampleStratTestCase obj's underlying member method code with example usage: obj.testQuandl() without return types