#NEWLINE# def compare_head( fileName , lines , path = 'samples' ) : #NEWLINE# #INDENT# assert ( len ( lines ) > 0 ) #NEWLINE# fileLines = get_file_lines ( os . path . join ( path , fileName ) ) #NEWLINE# return ( fileLines [ 0 : len ( lines ) ] == lines )