--- you can reply above this line ---

New issue 127: py.test doesn't wait for deferred completion when using 
twisted.trial
http://bitbucket.org/hpk42/py-trunk/issue/127/pytest-doesnt-wait-for-deferred-completion-when-using

Ali Afshar / aafshar on Wed, 6 Oct 2010 15:25:44 +0200:

Description:
  Twisted.trial unittests have an additional feature where if they return a 
deferred, the deferred will be waited on until completed. This behaviour is 
present in the base TestCase class twisted.trial.unittest.TestCase. These 
deferreds are not currently waited on in py.test.


Additionally, some twisted unittests are presented as generators decorated by  
twisted.internet.defer.inlineCallbacks in which yield yields a deferreds. These 
generators should be iterated to completion and all generators waited upon for 
completion.


This is just a placeholder, as I should investigate this myself, and add more 
information to this ticket.

Responsible:
  hpk42
-- 
This is an issue notification from bitbucket.org.
You are receiving this either because you are the
owner of the issue, or you are following the issue.
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to