

def testCSSLayoutAttachListener(self):
    self.resetVariables()
    comp = Label()
    self._csslayout.addComponent(comp)
    self.assertEquals(1, self._attachCounter)
    self.assertEquals(comp, self._attachedComponent)
    self.assertEquals(self._csslayout, self._attachTarget)
    self.assertTrue(self._foundInContainer)

dataset/ETHPy150Open rwl/muntjac/muntjac/test/server/components/component_attach_detach_listener_test.py ComponentAttachDetachListenerTest.testCSSLayoutAttachListener/original