def METHOD_NAME(self):
    store = EventStore(ConfigDict({
        'servers': ["http://elastic:9200"],
        'indices': {"un": {"priority": 20,
                           "included_event_filters": [{"routing_key": ["yolo"]}]},
                    "deux": {"priority": 10}},
        'read_index': "all_integers",
        'store_name': 'yolo'
    }))
    event = self.build_login_event(routing_key="yolo")
    self.assertEqual(store._get_event_index(event.serialize()), "un")