

def testHeaderVisibility(self):
    with GafferUI.ListContainer() as c:
        w = GafferUI.PathListingWidget(Gaffer.DictPath({
            
        }, '/'))
    self.assertTrue(w.getHeaderVisible())
    w.setHeaderVisible(False)
    self.assertFalse(w.getHeaderVisible())
    w.setHeaderVisible(True)
    self.assertTrue(w.getHeaderVisible())
    c.setVisible(False)
    self.assertTrue(w.getHeaderVisible())
    w.setHeaderVisible(False)
    self.assertFalse(w.getHeaderVisible())

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