def delete_collection(db_name, collection_name, host='localhost', port=27017):
    """Almost exclusively for testing"""
    client = MongoClient("mongodb://%s:%d" % (host, port))
    client[db_name].drop_collection(collection_name)
dataset/ETHPy150Open memphis-iis/GLUDB/gludb/backends/mongodb.py/delete_collection/original