Re: [py-dev] pytest-twisted 1.0

2012-10-22 Thread holger krekel
Hi Ralf, On Mon, Oct 22, 2012 at 00:53 +0200, Ralf Schmitt wrote: Hi, I've upload pytest-twisted to pypi [1]. It's a plugin which allows to test twisted code with pytest. The code is also available on github [2]. [1] http://pypi.python.org/pypi/pytest-twisted [2]

Re: [py-dev] pytest-twisted 1.0

2012-10-22 Thread Ralf Schmitt
holger krekel hol...@merlinux.eu writes: interesting little plugin. On a general note, using pytest_configure is not the best way to setup global state. It's better to do this:: @pytest.fixture(scope=session, autouse=True): def setup_twisted_reactor(request): ...