#NEWLINE# def testFileCompatibilityWithVersion0_15( self ) : #NEWLINE# #INDENT# s = Gaffer . ScriptNode ( ) #NEWLINE# s [ 'fileName' ] . setValue ( ( os . path . dirname ( __file__ ) + '/scripts/mergeVersion-0.15.0.0.gfr' ) ) #NEWLINE# s . load ( ) #NEWLINE# self . assertTrue ( s [ 'm' ] [ 'in' ] [ 0 ] . getInput ( ) . isSame ( s [ 'c1' ] [ 'out' ] ) ) #NEWLINE# self . assertTrue ( s [ 'm' ] [ 'in' ] [ 1 ] . getInput ( ) . isSame ( s [ 'c2' ] [ 'out' ] ) ) #NEWLINE# self . assertTrue ( ( 'in1' not in s [ 'm' ] ) ) #NEWLINE# self . assertTrue ( ( 'in2' not in s [ 'm' ] ) ) #NEWLINE# with s . context ( ) : #NEWLINE# #INDENT# self . assertEqual ( s [ 'm' ] [ 'out' ] . channelData ( 'R' , IECore . V2i ( 0 ) ) [ 0 ] , 0.75 )