File: twisted.txt

package info (click to toggle)
python-testfixtures 9.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,036 kB
  • sloc: python: 10,373; makefile: 76; sh: 9
file content (11 lines) | stat: -rw-r--r-- 453 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
Testing with Twisted
====================

Due to its longevity, Twisted has many of its own patterns for things that have since become
standard in Python. One of these is logging, where it has its own logging framework.

A :class:`testfixtures.twisted.LogCapture` helper is provided, but given the framework's
relatively niche use now, the documentation is provided by way of the test suite:


.. literalinclude:: ../testfixtures/tests/test_twisted.py