def testHandlesAreHumanReadable( self ) :

		s1 = self.compileShader( os.path.dirname( __file__ ) + "/shaders/coshader.sl" )
		s2 = self.compileShader( os.path.dirname( __file__ ) + "/shaders/coshaderParameter.sl" )

		sn1 = GafferRenderMan.RenderManShader( "Shader1" )
		sn2 = GafferRenderMan.RenderManShader( "Shader2" )
		sn1.loadShader( s1 )
		sn2.loadShader( s2 )

		sn2["parameters"]["coshaderParameter"].setInput( sn1["out"] )

		state = sn2.state()
		self.assertTrue( "Shader1" in state[0].parameters["__handle"].value )
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferRenderManTest/RenderManShaderTest.py/RenderManShaderTest.testHandlesAreHumanReadable/original