def _listen(self, cmd, *args):
        self.event_id += 1
        for listener in self.listeners:
            listener.listen(self.event_id, cmd, args)

        if cmd in ("start_test", "start_suite", "start_keyword"):
            name = args[0]
            cmd_type = cmd.split("_")[1]
            self.stack.append((cmd_type, name))
            self.update_display()
        elif ("end_test", "end_suite", "end_keyword") in cmd:
            cmd_type = cmd.split("_")[1]
            self.stack.pop()
            self.update_display()
dataset/ETHPy150Open boakley/robotframework-workbench/rwb/monitor/app.py/MonitorApp._listen/swapped operands of `in`