Extending the coverage is not a simple matter of adding more subclasses, as some tests (e.g., in test_connection.TestConnectionHandler) rely on primitives such as threading.Event and time.sleep. These first have to be replaced by the appropriate handler-specific implementations.
The number of tests run under
eventlet
andgevent
(in addition to the standardthreading
) is limited to a few classes:Extending the coverage is not a simple matter of adding more subclasses, as some tests (e.g., in
test_connection.TestConnectionHandler
) rely on primitives such asthreading.Event
andtime.sleep
. These first have to be replaced by the appropriate handler-specific implementations.This ticket is about doing both.
See https://github.com/python-zk/kazoo/pull/588#discussion_r382993141 for the discussion which led to this.