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 [文件列表]