

def testExtendedNodeDescription(self):
    multiply = GafferTest.MultiplyNode()
    self.assertEqual(Gaffer.Metadata.nodeDescription(multiply), '')
    Gaffer.Metadata.registerNodeDescription(GafferTest.MultiplyNode, 'description', 'op1', 'op1 description', 'op2', {
        'description': 'op2 description',
        'otherValue': 100,
    })
    self.assertEqual(Gaffer.Metadata.nodeDescription(self), 'description')
    self.assertEqual(Gaffer.Metadata.plugDescription(multiply['op1']), 'op1 description')
    self.assertEqual(Gaffer.Metadata.plugDescription(multiply['op2']), 'op2 description')
    self.assertEqual(Gaffer.Metadata.plugValue(multiply['op2'], 'otherValue'), 100)

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferTest/MetadataTest.py MetadataTest.testExtendedNodeDescription/VarMisuse@77/126 `multiply`->`self`