def clear_database():
    global datastore, database_setup
    if not database_setup:
        setup_database()

    try:
        # On MIM drop all data
        datastore.conn.drop_all()
    except __HOLE__:
        # On MongoDB drop database
        datastore.conn.drop_database(datastore.db)
dataset/ETHPy150Open amol-/depot/tests/base_ming.py/clear_database