class_docstr: Test the command line interface to tsfresh. This does not test the tsfresh functionality (this is tested elsewhere),
  but mocks the extract_features functionality by just outputting the same df as going in into the function.
class_docstr_tok: ["Test","the","command","line","interface","to","tsfresh",".","This","does","not","test","the","tsfresh","functionality","(","this","is","tested","elsewhere",")",",","but","mocks","the","extract_features","functionality","by","just","outputting","the","same","df","as","going","in","into","the","function","."]
code: def test_csv_with_header(self):
      input_csv = (
          "ID SORT KIND VALUE\n0 0 a 0\n1 0 a 1\n0 0 b 1\n1 0 b 3"
      )
      output_csv = ",ID,SORT,KIND,VALUE\n0,0,0,a,0\n1,1,0,a,1\n2,0,0,b,1\n3,1,0,b,3\n"
  
      result_csv = self.call_main_function(
          input_csv_string=input_csv,
          arguments="--column-id ID --column-sort SORT --column-value VALUE --column-kind KIND --csv-with-headers",
      )
  
      self.assertEqual(result_csv, output_csv)
  
      called_kwargs = self.mocked_extract_function.call_args[1]
  
      self.assertEqual(called_kwargs["column_id"], "ID")
      self.assertEqual(called_kwargs["column_value"], "VALUE")
      self.assertEqual(called_kwargs["column_kind"], "KIND")
      self.assertEqual(called_kwargs["column_sort"], "SORT")
  
file_path: tsfresh/tests/units/scripts/test_run_tsfresh.py
imports: import os
  import shutil
  import tempfile
  from unittest import TestCase
  from mock import patch
  from tsfresh.scripts import run_tsfresh
label_desc: Use image node_id 7 for calling the RunTSFreshTestCase obj's underlying member method code with example usage: obj.test_csv_with_header() without return types