summaryrefslogtreecommitdiff
path: root/plugins/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/tasks.py')
-rw-r--r--plugins/tasks.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/tasks.py b/plugins/tasks.py
index 7edcc08d..1301accf 100644
--- a/plugins/tasks.py
+++ b/plugins/tasks.py
@@ -28,14 +28,11 @@ namespace.add_collection(namespace_clean, 'clean')
#####
+@invoke.task(pre=[ext_test_tasks.pytest])
@invoke.task()
-def pytest(_, junit=False, pty=True):
+def pytest(_):
"""Run tests and code coverage using pytest"""
-
- iexec = invoke.Executor([])
- iexec.execute([
- invoke.call(ext_test_tasks.pytest, junit=junit, pty=pty, append_cov=True)
- ])
+ pass
namespace.add_task(pytest)