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 pytest-tornasync on Github 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.2.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for pytest_tornasync-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bbed467a0ad42ceabb67f844dd66eb26bbbcd899f97fff0a077da3510bb9c2c9
MD5 bb00df7759efc30ec44d7c0d2187472d
BLAKE2b-256 0430df41d16e6a150c8bf010d76079286a7bf45337dcec60e8f2c8b77d8d0a82

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