def test( self ) :

		p1 = GafferScene.Plane()
		p2 = GafferScene.Plane()
		g = GafferScene.Group()

		g["in"][0].setInput( p1["out"] )
		g["in"][1].setInput( p2["out"] )

		s = GafferScene.Set()
		s["in"].setInput( g["out"] )
		s["paths"].setValue( IECore.StringVectorData( [ "/group/plane" ] ) )

		f = GafferScene.SetFilter()
		f["set"].setValue( "set" )

		a = GafferScene.StandardAttributes()
		a["in"].setInput( s["out"] )
		a["attributes"]["doubleSided"]["enabled"].setValue( True )
		a["filter"].setInput( f["out"] )

		self.assertSceneValid( a["out"] )

		self.assertTrue( "doubleSided" in a["out"].attributes( "/group/plane" ) )
		self.assertTrue( "doubleSided" not in a["out"].attributes( "/group/plane1" ) )
		self.assertTrue( "doubleSided" not in a["out"].attributes( "/group" ) )

		s["paths"].setValue( IECore.StringVectorData( [ "/group" ] ) )

		self.assertSceneValid( a["out"] )

		self.assertTrue( "doubleSided" not in a["out"].attributes( "/group/plane" ) )
		self.assertTrue( "doubleSided" not in a["out"].attributes( "/group/plane1" ) )
		self.assertTrue( "doubleSided" in a["out"].attributes( "/group" ) )
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferSceneTest/SetFilterTest.py/SetFilterTest.test/original