()
return ServiceStatus(True, "Successfully queried an arbitrary couch view")
Confirm CouchDB is up and running, by hitting an arbitrary view.
Confirm CouchDB is up and running, by hitting an arbitrary view.
Confirm CouchDB is up and running by hitting an arbitrary view .
def check_couch():
    """Confirm CouchDB is up and running, by hitting an arbitrary view."""
    results = Application.view('app_manager/builds_by_date', limit=1).all()
    assert isinstance(results, list), "Couch didn't return a list of builds"
    return ServiceStatus(True, "Successfully queried an arbitrary couch view")
def check_couch ( ) : results = Application . view ( 'app_manager/builds_by_date' , limit = 1 ) . all ( ) assert isinstance ( results , list ) , "Couch didn't return a list of builds" return ServiceStatus ( True , "Successfully queried an arbitrary couch view" )