

def testDeeperExpandedPaths(self):
    p = Gaffer.DictPath({
        'a': {
            'b': {
                'c': {
                    'd': 10,
                },
            },
        },
    }, '/')
    w = GafferUI.PathListingWidget(p)
    w.setPathExpanded(p.copy().setFromString('/a/b/c'), True)
    self.assertTrue(w.getPathExpanded(p.copy().setFromString('/a/b/c')))

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferUITest/PathListingWidgetTest.py PathListingWidgetTest.testDeeperExpandedPaths/original