File: testing.rst

package info (click to toggle)
python-tornado 6.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,176 kB
  • sloc: python: 28,920; javascript: 156; sh: 100; ansic: 72; xml: 49; makefile: 49; sql: 23
file content (38 lines) | stat: -rw-r--r-- 739 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
``tornado.testing`` --- Unit testing support for asynchronous code
==================================================================

.. automodule:: tornado.testing

   Asynchronous test cases
   -----------------------

   .. autoclass:: AsyncTestCase
      :members:

   .. autoclass:: AsyncHTTPTestCase
      :members:

   .. autoclass:: AsyncHTTPSTestCase
      :members:

   .. autofunction:: gen_test

   Controlling log output
   ----------------------

   .. autoclass:: ExpectLog
      :members:

   Test runner
   -----------

   .. autofunction:: main

   Helper functions
   ----------------

   .. autofunction:: bind_unused_port

   .. autofunction:: get_async_test_timeout

   .. autofunction:: setup_with_context_manager