summaryrefslogtreecommitdiff
path: root/tests/test_transcript.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2019-06-15 10:31:42 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2019-06-15 10:31:42 -0400
commit79c54b473126d44f0da146600a352660d4cb7c64 (patch)
tree1628b99113f8c49e32bf0903e87617b8089f3f39 /tests/test_transcript.py
parentea1716ad0c43ce0c2c354836dbc36e4ae419afb6 (diff)
downloadcmd2-git-79c54b473126d44f0da146600a352660d4cb7c64.tar.gz
Updated various documentation and tests to not use load
Diffstat (limited to 'tests/test_transcript.py')
-rw-r--r--tests/test_transcript.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py
index 5dd39e1b..909a6a5c 100644
--- a/tests/test_transcript.py
+++ b/tests/test_transcript.py
@@ -190,7 +190,7 @@ this is a \/multiline\/ command
assert transcript == expected
-def test_load_record_transcript(base_app, request):
+def test_run_script_record_transcript(base_app, request):
test_dir = os.path.dirname(request.module.__file__)
filename = os.path.join(test_dir, 'scripts', 'help.txt')
@@ -201,8 +201,8 @@ def test_load_record_transcript(base_app, request):
fd, transcript_fname = tempfile.mkstemp(prefix='', suffix='.trn')
os.close(fd)
- # Run the load command with the -r option to generate a transcript
- run_cmd(base_app, 'load {} -t {}'.format(filename, transcript_fname))
+ # Execute the run_script command with the -t option to generate a transcript
+ run_cmd(base_app, 'run_script {} -t {}'.format(filename, transcript_fname))
assert base_app._script_dir == []
assert base_app._current_script_dir is None