

def setUp(self):
    super(ComponentAttachDetachListenerTest, self).setUp()
    self._attachCounter = 0
    self._attachedComponent = None
    self._attachTarget = None
    self._foundInContainer = False
    self._detachCounter = 0
    self._detachedComponent = None
    listener._detachedTarget = None
    self._indexOfComponent = (- 1)
    self._componentArea = None
    self._componentPosition = None
    self._olayout = HorizontalLayout()
    listener = MyAttachListener(self)
    self._olayout.addListener(listener, IComponentAttachListener)
    listener = MyDetachListener(self)
    self._olayout.addListener(listener, IComponentDetachListener)
    self._gridlayout = GridLayout()
    listener = MyAttachListener(self)
    self._gridlayout.addListener(listener, IComponentAttachListener)
    listener = MyDetachListener(self)
    self._gridlayout.addListener(listener, IComponentDetachListener)
    self._absolutelayout = AbsoluteLayout()
    listener = MyAttachListener(self)
    self._absolutelayout.addListener(listener, IComponentAttachListener)
    listener = MyDetachListener(self)
    self._absolutelayout.addListener(listener, IComponentDetachListener)
    self._csslayout = CssLayout()
    listener = MyAttachListener(self)
    self._csslayout.addListener(listener, IComponentAttachListener)
    listener = MyDetachListener(self)
    self._csslayout.addListener(listener, IComponentDetachListener)

dataset/ETHPy150Open rwl/muntjac/muntjac/test/server/components/component_attach_detach_listener_test.py ComponentAttachDetachListenerTest.setUp/VarMisuse@57/79 `self`->`listener`