def METHOD_NAME(self):
    with self.assertRaises(ImproperlyConfigured) as cm:
        EventStore(ConfigDict({
            'servers': ["http://elastic:9200"],
            'indices': "yolo",
            'store_name': 'yolo'
        }))
    self.assertEqual(cm.exception.args[0], 'indices must be a Mapping')