Skip to content

Commit 046210e

Browse files
committed
rename transcript files
1 parent 7fc847b commit 046210e

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_transcript.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def test_transcript_from_cmdloop(request, capsys):
240240

241241
# Get location of the transcript
242242
test_dir = os.path.dirname(request.module.__file__)
243-
transcript_file = os.path.join(test_dir, 'transcripts/transcript.txt')
243+
transcript_file = os.path.join(test_dir, 'transcripts/from_cmdloop.txt')
244244

245245
# Need to patch sys.argv so cmd2 doesn't think it was called with arguments equal to the py.test args
246246
testargs = ['prog', '-t', transcript_file]
@@ -266,7 +266,7 @@ def test_multiline_command_transcript_with_comments_at_beginning(request, capsys
266266

267267
# Get location of the transcript
268268
test_dir = os.path.dirname(request.module.__file__)
269-
transcript_file = os.path.join(test_dir, 'transcripts/multiline_transcript.txt')
269+
transcript_file = os.path.join(test_dir, 'transcripts/multiline.txt')
270270

271271
# Need to patch sys.argv so cmd2 doesn't think it was called with arguments equal to the py.test args
272272
testargs = ['prog', '-t', transcript_file]
@@ -293,13 +293,13 @@ def test_invalid_syntax(_cmdline_app, capsys):
293293
assert normalize(str(err)) == expected
294294

295295

296-
def test_regex_transcript(request, capsys):
296+
def test_transcript_with_regex_set(request, capsys):
297297
# Create a cmd2.Cmd() instance and make sure basic settings are like we want for test
298298
app = CmdLineApp()
299299

300300
# Get location of the transcript
301301
test_dir = os.path.dirname(request.module.__file__)
302-
transcript_file = os.path.join(test_dir, 'transcripts/transcript_regex.txt')
302+
transcript_file = os.path.join(test_dir, 'transcripts/regex_set.txt')
303303

304304
# Need to patch sys.argv so cmd2 doesn't think it was called with arguments equal to the py.test args
305305
testargs = ['prog', '-t', transcript_file]
File renamed without changes.

0 commit comments

Comments
 (0)