#NEWLINE# def test_chanjo( ) : #NEWLINE# #INDENT# with open ( TEST_OUTPUT , 'r' ) as handle : #NEWLINE# #INDENT# data_rows = [ data for data in bed . chanjo ( handle ) ] #NEWLINE# #UNINDENT# data = data_rows [ 0 ] #NEWLINE# assert ( data [ 'name' ] == '1-69090-70007' ) #NEWLINE# assert ( data [ 'score' ] == 0 ) #NEWLINE# assert ( data [ 'strand' ] == '+' ) #NEWLINE# assert ( list ( data [ 'elements' ] ) == [ ( 'CCDS30547.1' , 'OR4F5' ) ] )