@@ -6,7 +6,7 @@ pytest-twisted - test twisted code with pytest
6
6
7
7
|Travis |_ |AppVeyor |_ |Pythons |
8
8
9
- :Authors: Ralf Schmitt, Victor Titor
9
+ :Authors: Ralf Schmitt, Kyle Altendorf, Victor Titor
10
10
:Version: 1.6
11
11
:Date: 2018-01-12
12
12
:Download: https://pypi.python.org/pypi/pytest-twisted#downloads
@@ -33,13 +33,18 @@ The plugin is available after installation and can be disabled using
33
33
By default ``twisted.internet.default `` is used to install the reactor.
34
34
This creates the same reactor that ``import twisted.internet.reactor ``
35
35
would. Alternative reactors can be specified using the ``--reactor ``
36
- option. Presently only ``qt5reactor `` is supported for use with
37
- ``pyqt5 `` and ``pytest-qt ``.
36
+ option.
37
+
38
+ Presently only ``qt5reactor `` is supported for use with ``pyqt5 ``
39
+ and ``pytest-qt ``. This `guide `_ describes how to add support for
40
+ a new reactor.
38
41
39
42
The reactor is automatically created prior to the first test but can
40
43
be explicitly installed earlier by calling
41
44
``pytest_twisted.init_default_reactor() `` or the corresponding function
42
- for the desired alternate reactor. Beware that in situations such as
45
+ for the desired alternate reactor.
46
+
47
+ Beware that in situations such as
43
48
a ``conftest.py `` file that the name ``pytest_twisted `` may be
44
49
undesirably detected by ``pytest `` as an unknown hook. One alternative
45
50
is to ``import pytest_twisted as pt ``.
@@ -93,3 +98,5 @@ That's all.
93
98
94
99
.. |Pythons | image :: https://img.shields.io/pypi/pyversions/pytest-twisted.svg
95
100
:alt: supported Python versions
101
+
102
+ .. _guide : CONTRIBUTING.rst
0 commit comments