Hi all,<br><br>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).<br>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.<br>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.<br><br>- Ralf<br><br><br><br><br><br>