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_transcript.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_transcript.py')
-rw-r--r-- | tests/test_transcript.py | 6 |
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 |