#NEWLINE# def testExtraneousPlugsAfterSerialisation( self ) : #NEWLINE# #INDENT# s = Gaffer . ScriptNode ( ) #NEWLINE# s [ 'n' ] = GafferCortex . ObjectWriter ( ) #NEWLINE# s [ 'n' ] [ 'fileName' ] . setValue ( s . __exrFileName ) #NEWLINE# self . failUnless ( ( 'parameters' in s [ 'n' ] ) ) #NEWLINE# self . failIf ( ( 'parameters1' in s [ 'n' ] ) ) #NEWLINE# ss = s . serialise ( ) #NEWLINE# s = Gaffer . ScriptNode ( ) #NEWLINE# s . execute ( ss ) #NEWLINE# self . failUnless ( ( 'parameters' in s [ 'n' ] ) ) #NEWLINE# self . failIf ( ( 'parameters1' in s [ 'n' ] ) )