Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
run: |
python3 -m pip install -U pip
python3 -m pip install -U wheel setuptools
python3 -m pip install sphinx Twisted
python3 -m pip install ".[test]"
python3 -m pip install sphinx
python3 -m pip install ".[test,twisted]"

- name: Tests
run: |
Expand Down
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ Improvements
* Distutils integration is deprecated and will be removed in the next major
version.

* Provide a ``testtools[twisted]`` extra documenting dependencies needed for
``testtools.twistedsupport``.

2.5.0
~~~~~

Expand Down
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ tested on Linux and macOS.
Optional Dependencies
---------------------

If you would like to use our Twisted support, then you will need Twisted.
If you would like to use our Twisted support, then you will need the
``testtools[twisted]`` extra.

If you want to use ``fixtures`` then you can either install fixtures (e.g. from
https://launchpad.net/python-fixtures or https://pypi.python.org/pypi/fixtures)
Expand Down
3 changes: 2 additions & 1 deletion doc/twisted-support.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
Twisted support
===============

testtools provides support for testing Twisted code.
testtools provides support for testing Twisted code. Install the
``testtools[twisted]`` extra to use this.


Matching Deferreds
Expand Down
3 changes: 1 addition & 2 deletions readthedocs-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@
# that it knows exactly what to install in order to render the full
# documentation.

testtools[test]
Twisted
testtools[test,twisted]
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ classifier =
test =
testscenarios
testresources
twisted =
Twisted

[files]
packages = testtools
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ minversion = 1.6
usedevelop = True
deps =
sphinx
Twisted
extras =
test
twisted
commands =
python -W once -m testtools.run testtools.tests.test_suite