summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2017-10-23 18:35:00 -0700
committerJeff Forcier <jeff@bitprophet.org>2017-10-23 18:35:00 -0700
commit6d9d14a4847a9ac769f6cab8b6af985b94378826 (patch)
treebad213068a5d5f545543a43749852d30d30c63af /tasks.py
parentd2dbb33ae903de1e189312171afa86d8643ca271 (diff)
downloadparamiko-6d9d14a4847a9ac769f6cab8b6af985b94378826.tar.gz
Use pytest-timeout, configured via pytest.ini
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tasks.py b/tasks.py
index 78420164..64f0ce3d 100644
--- a/tasks.py
+++ b/tasks.py
@@ -28,6 +28,7 @@ def test(ctx, verbose=True, coverage=False, opts=""):
if 'SSH_AUTH_SOCK' in env:
del env['SSH_AUTH_SOCK']
cmd = "{} {}".format(runner, opts)
+ # NOTE: we have a pytest.ini and tend to use that over PYTEST_ADDOPTS.
ctx.run(cmd, pty=True, env=env, replace_env=True)