def test_build_event(self):
        evt = event.build_event("evt_name", arg1="val1", arg2=None)
        assert evt.name == "evt_name"
        assert evt.args == {'arg1': "val1", 'arg2': None}
def clear(self):
    for unused_ in range(len(self._items)):
      self.remove_item(self._items[0])