def test_empty_file_with_header_and_hasheader_arg(self):
        fqfn = os.path.join(data_dir, 'empty_header.csv')
        cmd = '%s %s --outputformat=parsable --hasheader' % (os.path.join(script_path, 'gristle_determinator'), fqfn)
        r    = envoy.run(cmd)
        print r.std_out
        print r.std_err
        assert r.status_code == 0
        assert get_value(r.std_out, 'file_analysis_results', 'main', 'main', 'record_count')  == '1'
        assert get_value(r.std_out, 'file_analysis_results', 'main', 'main', 'hasheader')     == 'True'
dataset/ETHPy150Open kenfar/DataGristle/scripts/tests/test_gristle_determinator_cmd.py/Test_empty_file.test_empty_file_with_header_and_hasheader_arg/original