

def testColumns(self):
    w = GafferUI.PathListingWidget(Gaffer.DictPath({
        
    }, '/'))
    w.assertEqual(w.getColumns(), list(w.defaultFileSystemColumns))
    c1 = [w.defaultNameColumn, w.defaultFileSystemIconColumn]
    c2 = [w.defaultNameColumn, w.StandardColumn('h', 'a')]
    w.setColumns(c1)
    self.assertEqual(w.getColumns(), c1)
    w.setColumns(c2)
    self.assertEqual(w.getColumns(), c2)

dataset/ETHPy150Open ImageEngine/gaffer/python/GafferUITest/PathListingWidgetTest.py PathListingWidgetTest.testColumns/VarMisuse@29/39 `self`->`w`