Skip to main content

py.test plugin for testing Python 3.5+ Tornado code

Project description

https://travis-ci.org/eukaryote/pytest-tornasync.svg?branch=master

A simple pytest plugin that provides some helpful fixtures for testing Tornado apps and easy handling of plain (undecoratored) native coroutine tests (Python 3.5+).

Why another Tornado pytest plugin when the excellent pytest-tornado already exists? The main reason is that I didn’t want to have to decorate every test coroutine with @pytest.mark.gen_test. This plugin doesn’t have anything like gen_test. Defining a test with async def is all that is required.

See https://github.com/eukaryote/pytest-tornasync for more info.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pytest_tornasync-0.3.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file pytest_tornasync-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_tornasync-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d2db70c1f9d8d8660ccece95bd2f6b438c81cdfa663a2b3a18789f15e9551eb
MD5 9758a6d4d86451b4296bf03b4c4ac1af
BLAKE2b-256 437010a778570c91b3e80da934527e8f3659d33c96a428ef13cc3995b2c6aa32

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page