def METHOD_NAME(config):
    """
    Context manager to let us open aerospike connections with
    specified config
    """
    as_connection = TestBaseClass.get_new_connection(config)
    # Connection is setup, so yield it
    yield as_connection
    # close the connection
    as_connection.close()