diff options
author | Eric Lin <anselor@gmail.com> | 2020-07-10 11:07:24 -0400 |
---|---|---|
committer | anselor <anselor@gmail.com> | 2020-07-11 17:30:40 -0400 |
commit | 4f631bec32592e9278860fd234ebe84facfec3c1 (patch) | |
tree | 72f21bbb9ac6c0b142c6e1fde31b286925588c06 /plugins/tasks.py | |
parent | 601a8e271020ca1b0918deabf70ad0778ded7d4a (diff) | |
download | cmd2-git-4f631bec32592e9278860fd234ebe84facfec3c1.tar.gz |
Minor cleanup. Removed some experiments that weren't supposed to be included
Diffstat (limited to 'plugins/tasks.py')
-rw-r--r-- | plugins/tasks.py | 9 |
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) |