[py-dev] py.test and twisted
Ralf Schmitt
schmir at gmail.com
Fri May 4 11:16:11 CEST 2007
On 4/6/07, holger krekel <holger at merlinux.de> wrote:
>
> Hi Ralf,
>
> sorry for missing out on answering.
no problem.
On Tue, Feb 20, 2007 at 10:20 +0100, Ralf Schmitt wrote:
> > Hi all,
> >
> > I've made py.test work with the twisted framework using greenlets to
> switch
> > between twisted's mainloop and py.test's "mainloop". (see attached
> file).
> > It currently uses monkeypatching to change py.test.Item's execute
> function.
> > Currently missing is the ability to return twisted deferreds from setup
> and
> > teardown methods.
> > I could monkeypatch py.test even more, but I'd rather have a method to
> hook
> > into py.test, and intercept any calls to user supplied functions (i.e.
> > teardown, setup, and test methods). Any chance to get such changes
> > integrated into py.test? I'd be willing to write them on my own and
> would
> > also be glad to have the py.test.twisted script be included into py.test
> .
>
> yes, let's consider how to integrate twisted support - however,
> from my side not much before May - i still need to recover
> from the recent PyPy release and report rushs ...
Hope you recovered. Do you have time to discuss twisted support now?
Regards,
- Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/py-dev/attachments/20070504/49a48269/attachment.htm
More information about the py-dev
mailing list