def setup_test_environment(self): super().setup_test_environment() try: es.client.indices.delete(settings.ES_INDEX) except NotFoundError: pass call_command('create_index') es.wait_for_yellow()
def setup_test_environment(self): super(ESTestSuiteRunner, self).setup_test_environment() call_command('create_index') es.wait_for_yellow()