#NEWLINE# def test_loading_all_json( self ) : #NEWLINE# #INDENT# for filename in self . fails : #NEWLINE# #INDENT# filepath = ( self . json_path + filename ) #NEWLINE# with open ( filepath ) as json_file : #NEWLINE# #INDENT# logger . info ( 'Loading %s...' , filepath ) #NEWLINE# g1 = ProvDocument . deserialize ( json_file ) #NEWLINE# json_str = g1 . serialize ( indent = 4 ) #NEWLINE# g2 = ProvDocument . deserialize ( content = json_str ) #NEWLINE# self . assertEqual ( self , g2 , ( 'Round-trip JSON encoding/decoding failed:  %s.' % filename ) )