tell travis + tox about pytest.twisted in a different way

This commit is contained in:
meejah 2018-01-17 14:21:30 -07:00
parent 7e393510d2
commit f7cfd62908
2 changed files with 3 additions and 2 deletions

View File

@ -22,8 +22,6 @@ from util import _create_node
from util import _run_node from util import _run_node
pytest_plugins = 'pytest_twisted'
# pytest customization hooks # pytest customization hooks
def pytest_addoption(parser): def pytest_addoption(parser):

View File

@ -3,6 +3,9 @@
# test suite on all supported python versions. To use it, "pip install tox" # test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory. # and then run "tox" from this directory.
[pytest]
twisted = 1
[tox] [tox]
envlist = py27 envlist = py27
minversion = 1.7 minversion = 1.7