pytest-twisted icon indicating copy to clipboard operation
pytest-twisted copied to clipboard

test twisted code with pytest

Results 41 pytest-twisted issues
Sort by recently updated
recently updated
newest added
trafficstars

I'm digging, more details to follow.

I haven't done anything yet but maybe we end up needing something like https://github.com/pytest-dev/pytest-asyncio/pull/45

Black defaults to a line length of 88 and reformats some stuff because of that. Shall we configure it to 79? `pyproject.toml`: ```toml [tool.black] line-length = 79 ```

How about a decorator to allow directly writing `async def` tests instead of having to wrap them with `@pytest.inlineCallbacks` decorated tests. https://github.com/altendky/altendpyqt5/pull/10/files#diff-7531f542e8da5192e38a81a441db749e ```python3 async def async_await_for_signal(): timer = altendpyqt5.tests.utils.singleshot_immediate_timer() await...

https://bitbucket.org/hpk42/pytest/issue/207/remember-return-returnvalues-of-test once done, the plugin no longer has to keep a copy of the call a test function machinery

enhancement

I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. - `python3 -sBm...

When using the asyncio reactor, in newer versions of python, you get a deprecation warning: "twisted/internet/asyncioreactor.py:50: DeprecationWarning: There is no current event loop". This can be resolved by passing an...

When running a test suite under Twisted 24.7.0rc1, I get a lot of: > pytest_twisted.py:424: DeprecationWarning: twisted.internet.defer.returnValue was deprecated in Twisted 24.7.0rc1; please use standard return statement instead Looks like...