def update_event_map(self):
        """
            Creates/Update the event map dictionary with items for
            each of the service entry in the event queue
            Args:
                None
            Return:
                None
            Raise:
                None
        """
        while not self.atropos_event_queue.empty():
            (service, failure_name, trigger_time, node_name,
             trigger_status) = self.atropos_event_queue.get()
            if self.event_map.keys() in service:
                self.event_map[service].append([failure_name, trigger_time,
                                                node_name, trigger_status])
            else:
                self.event_map[service] = [[failure_name, trigger_time,
                                            node_name, trigger_status]]
dataset/ETHPy150Open linkedin/simoorg/src/test/mock_modules/MockMoirai.py/MockMoirai.update_event_map/swapped operands of `in`