def clean_db(): _mongo.drop_collections()
def drop_collections(): log.warn("Dropping collections from database") mongo.drop_collections() return 0