

def testVectorTypes(self):
    n = Gaffer.Node()
    Gaffer.Metadata.registerNodeValue(n, 'stringVector', IECore.StringVectorData(['a', 'b', 'c']))
    self.assertEqual(Gaffer.Metadata.nodeValue(n, 'stringVector'), IECore.StringVectorData(['a', 'b', 'c']))
    Gaffer.Metadata.registerNodeValue(n, 'intVector', IECore.IntVectorData([1, 2, 3]))
    self.assertEqual(Gaffer.Metadata.nodeValue(n, 'intVector'), IECore.IntVectorData([1, 2, 3]))

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferTest/MetadataTest.py MetadataTest.testVectorTypes/original