#NEWLINE# def testNoConnectionToParametersPlug( self ) : #NEWLINE# #INDENT# splitPoint = GafferOSL . OSLShader ( ) #NEWLINE# splitPoint . loadShader ( 'Utility/SplitPoint' ) #NEWLINE# globals = GafferOSL . OSLShader ( ) #NEWLINE# globals . loadShader ( 'Utility/Globals' ) #NEWLINE# splitPoint [ 'parameters' ] [ 'p' ] . setInput ( globals [ 'out' ] [ 'globalP' ] ) #NEWLINE# self . assertTrue ( splitPoint [ 'parameters' ] [ 'p' ] . getInput ( ) . isSame ( globals [ 'out' ] [ 'globalP' ] ) ) #NEWLINE# self . assertTrue ( splitPoint [ 'parameters' ] [ 'p' ] [ 0 ] . getInput ( ) . isSame ( globals [ 'out' ] [ 'globalP' ] [ 0 ] ) ) #NEWLINE# self . assertTrue ( splitPoint [ 'parameters' ] [ 'p' ] [ 1 ] . getInput ( ) . isSame ( globals [ 'out' ] [ 'globalP' ] [ 1 ] ) ) #NEWLINE# self . assertTrue ( splitPoint [ 'parameters' ] [ 'p' ] [ 2 ] . getInput ( ) . isSame ( globals [ 'out' ] [ 'globalP' ] [ 2 ] ) ) #NEWLINE# self . assertTrue ( ( splitPoint [ 'parameters' ] . getInput ( ) is None ) )