@classmethod
    def setup_class(cls):
        # Note: TestCase has no setup_class, so we don't call super()
        # here.
        cls.cleanup_index()
        cls.create_index(mappings=cls.mapping)
        if cls.data:
            cls.index_data(cls.data)
            cls.refresh()
Sets up the index specified by ``cls.index_name``
dataset/ETHPy150Open mozilla/elasticutils/elasticutils/estestcase.py/ESTestCase.setup_class