querypool.tests.test_pools#

Functions

init_pool(query_type, **kw)

query(query_type, seconds)

test_gevent_noncooperative_query_in_cooperative_pool()

test executing a non-cooperative query in a cooperative pool (improper usage)

test_gevent_noncooperative_query_in_noncooperative_pool()

test executing a non-cooperative query in a non-cooperative pool (proper usage)

test_query_cancel(query_type)

test canceling a query

test_query_exception(query_type)

test executing a query which raises an exception

test_query_maxqueries1(query_type)

test executing a query which returns a value

test_query_maxqueries2(query_type)

test executing a query which returns a value

test_query_success(query_type)

test executing a query which returns a value

test_query_wait(query_type)

test executing a query which returns a value