diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-15 10:53:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-15 10:53:06 -0400 |
commit | c12ba0ff11b3a8fd083c641cb9149aff6494bbf9 (patch) | |
tree | a858864c091088e633de6ba6c8db55fd618a71e7 /tests/test_completion.py | |
parent | b3759991adca62779ef7aefbff9dc7004463e129 (diff) | |
parent | 6a122ae91b6a3fabc3709b1d488843715258e58c (diff) | |
download | cmd2-git-c12ba0ff11b3a8fd083c641cb9149aff6494bbf9.tar.gz |
Merge pull request #701 from python-cmd2/rename
Rename load, _relative_load, and pyscript
Diffstat (limited to 'tests/test_completion.py')
-rw-r--r-- | tests/test_completion.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_completion.py b/tests/test_completion.py index 0a16bc28..91519b0a 100644 --- a/tests/test_completion.py +++ b/tests/test_completion.py @@ -149,7 +149,7 @@ def test_complete_exception(cmd2_app, capsys): def test_complete_macro(base_app, request): # Create the macro - out, err = run_cmd(base_app, 'macro create fake pyscript {1}') + out, err = run_cmd(base_app, 'macro create fake run_pyscript {1}') assert out == normalize("Macro 'fake' created") # Macros do path completion @@ -537,7 +537,7 @@ def test_basic_completion_nomatch(cmd2_app): def test_delimiter_completion(cmd2_app): text = '/home/' - line = 'load {}'.format(text) + line = 'run_script {}'.format(text) endidx = len(line) begidx = endidx - len(text) |