#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# path = os . path . join ( os . path . dirname ( __file__ ) , '..' , 'data' , 'ycsb-test-run.dat' ) #NEWLINE# with open ( path ) as fp : #NEWLINE# #INDENT# self . contents = fp . read ( ) #NEWLINE# #UNINDENT# self . results = ycsb . ParseResults ( fp . contents , 'histogram' )