def resetsearch(): """ Reset the elatic search index (without rebuilding). """ from datahub.logic.search import reset_index reset_index()
def tear_down_test_app(): core.db.session.rollback() core.db.drop_all() from datahub.logic import search search.reset_index()