Skip to content

Commit

Permalink
Re-integrate pytest-timeout plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Peque committed Apr 2, 2018
1 parent bcc4d0a commit 3d8b81f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ envlist =
lint
docs

[pytest]
timeout = 10

[flake8]
ignore =
__init__.py E402 F401
Expand All @@ -21,7 +24,7 @@ deps =
-e.[test]
commands =
pytest --basetemp={envtmpdir} --cache-clear -sv --cov \
{posargs:-n 8}
--timeout-method=thread {posargs:-n 8}

[testenv:lint]
deps =
Expand Down

0 comments on commit 3d8b81f

Please sign in to comment.