def needsRunningReactor(reactor, thunk):
 reactor.callWhenRunning(thunk)

def needsRunningReactor ( reactor , thunk ) : reactor . callWhenRunning ( thunk )
various functions within these tests need an already-running reactor at some point .