'The reactor\'s threadpool is only available when the reactor is running,
so to have a sane behavior during the tests we make a dummy
L{threads.deferToThread} call.'

def _waitForThread(self):

    return threads.deferToThread(time.sleep, 0)
