#NEWLINE# def test_simple_roundtrip( self ) : #NEWLINE# #INDENT# r_build_manifest = BuildManifest ( self . sections , self . meta , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# f = StringIO ( ) #NEWLINE# r_build_manifest . _write ( f ) #NEWLINE# r_s = f . getvalue ( ) #NEWLINE# build_manifest = BuildManifest . from_string ( r_s ) #NEWLINE# f = StringIO ( ) #NEWLINE# build_manifest . _write ( f ) #NEWLINE# s = f . getvalue ( ) #NEWLINE# self . assertEqual ( json . loads ( r_s ) , json . loads ( s ) )