def METHOD_NAME(self):
    with self.assertRaises(ImproperlyConfigured) as cm:
        EventStore(ConfigDict({
            'servers': ["http://elastic:9200"],
            'indices': {"un": {"priority": 20,
                               "included_event_filters": "yolo"},
                        "deux": {"priority": 10}},
            'store_name': 'yolo'
        }))
    self.assertEqual(cm.exception.args[0], "invalid event filters for index 'un'")