summaryrefslogtreecommitdiffhomepage
path: root/tasks.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2015-11-02 13:15:15 -0800
committerJeff Forcier <jeff@bitprophet.org>2015-11-02 13:15:15 -0800
commit07ff30537a225f9b9c2c31eaf9b376d412907c37 (patch)
tree70ad9c5bca7144d93120818b85d2b2723115b441 /tasks.py
parent985df357ec039bcb28f6f260e64e9838204506f6 (diff)
parenta1b160c1ff4ee1576b82f98990285ccddadd9b61 (diff)
Merge branch '1.14' into 1.15
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tasks.py b/tasks.py
index 7c920daf..05654d3b 100644
--- a/tasks.py
+++ b/tasks.py
@@ -9,11 +9,12 @@ from invocations.packaging import publish
# Until we move to spec-based testing
@task
-def test(ctx, coverage=False):
+def test(ctx, coverage=False, flags=""):
+ if "--verbose" not in flags.split():
+ flags += " --verbose"
runner = "python"
if coverage:
runner = "coverage run --source=paramiko"
- flags = "--verbose"
ctx.run("{0} test.py {1}".format(runner, flags), pty=True)