Skip to content
Sections
>> Trisquel >> Packages >> aramo >> python >> python3-pytest-tornasync
aramo  ]
[ Source: pytest-tornasync  ]

Package: python3-pytest-tornasync (0.6.0.post2-2)

pytest plugin for testing Tornado apps using native coroutine tests

A simple pytest plugin that provides some helpful fixtures for testing Tornado (version 5.0 or newer) 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 and a name that begins with test_ is all that is required.

Other Packages Related to python3-pytest-tornasync

  • depends
  • recommends
  • suggests
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-pytest
    Simple, powerful testing in Python3
  • dep: python3-tornado
    scalable, non-blocking web server and tools - Python 3 package

Download python3-pytest-tornasync

Download for all available architectures
Architecture Package Size Installed Size Files
all 6.4 kB34 kB [list of files]