Skip to content
Sections
>> Trisquel >> 软件包 >> aramo >> python >> python3-pytest-tornasync
aramo  ]
[ 源代码: pytest-tornasync  ]

软件包: 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.

其他与 python3-pytest-tornasync 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 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

下载 python3-pytest-tornasync

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 6.4 kB34 kB [文件列表]