

def testOrderedLayoutAttachListener(self):
    self.resetVariables()
    comp = Label()
    self._olayout.addComponent(comp)
    self.assertEquals(1, self._attachCounter)
    self.assertEquals(self, self._attachedComponent)
    self.assertEquals(self._olayout, self._attachTarget)
    self.assertTrue(self._foundInContainer)
    self.assertFalse((self._indexOfComponent == (- 1)))

dataset/ETHPy150Open rwl/muntjac/muntjac/test/server/components/component_attach_detach_listener_test.py ComponentAttachDetachListenerTest.testOrderedLayoutAttachListener/VarMisuse@46/60 `comp`->`self`