File: aiounittest.rst

package info (click to toggle)
python-aiounittest 1.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208 kB
  • sloc: python: 436; makefile: 200; sh: 5
file content (14 lines) | stat: -rw-r--r-- 340 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Usage
=====

To enable support for async tests just use :code:`aiounittest.AsyncTestCase` instead
of :code:`unittest.TestCase` (or decorate async test coroutines with :code:`async_test`). The :code:`futurized`
will help you to mock coroutines.

.. toctree::
   :maxdepth: 2

   asynctestcase
   asyncmockiterator
   async_test
   futurized