These tests use create_pumper from Autobahn which returns an object with a stop method which returns a Deferred. These tests uses testtools.TestCase.addCleanup to call the pumper stop method. However, testtools.TestCase.addCleanup doesn't wait on Deferred return values unless run_tests_with is set to an AsynchronousDeferredRunTest instance - which these tests do not do.
These tests use
create_pumper
from Autobahn which returns an object with astop
method which returns aDeferred
. These tests usestesttools.TestCase.addCleanup
to call the pumperstop
method. However,testtools.TestCase.addCleanup
doesn't wait onDeferred
return values unlessrun_tests_with
is set to anAsynchronousDeferredRunTest
instance - which these tests do not do.