summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2020-08-05 15:08:37 -0400
committeranselor <anselor@gmail.com>2020-08-06 16:01:19 -0400
commit62eccdac73d852d3ab9df06497bc8c9063e3d283 (patch)
tree2c7a02a8589270447d9ef611f0f6f170e5f0528f /tasks.py
parent2c99c0d9e7ddea1a93e97e3198aea01beca7c5d5 (diff)
downloadcmd2-git-62eccdac73d852d3ab9df06497bc8c9063e3d283.tar.gz
Verify that a completer function is defined in a CommandSet before
passing it a CommandSet instance. Search for a CommandSet instance that matches the completer's parent class type.` Resolves Issue #967 Renamed isolated_tests directory to tests_isolated for better visual grouping. Added some exception documentation
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks.py b/tasks.py
index 7dd286ac..2bc7f7fb 100644
--- a/tasks.py
+++ b/tasks.py
@@ -70,10 +70,10 @@ def pytest(context, junit=False, pty=True, base=False, isolated=False):
tests_cmd = command_str + ' tests'
context.run(tests_cmd, pty=pty)
if isolated:
- for root, dirnames, _ in os.walk(str(TASK_ROOT/'isolated_tests')):
+ for root, dirnames, _ in os.walk(str(TASK_ROOT/'tests_isolated')):
for dir in dirnames:
if dir.startswith('test_'):
- context.run(command_str + ' isolated_tests/' + dir)
+ context.run(command_str + ' tests_isolated/' + dir)
namespace.add_task(pytest)