@@ -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 , 'transcript.txt' )
243+ transcript_file = os .path .join (test_dir , 'transcripts/ transcript.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 , 'multiline_transcript.txt' )
269+ transcript_file = os .path .join (test_dir , 'transcripts/ multiline_transcript.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 ]
@@ -299,7 +299,7 @@ def test_regex_transcript(request, capsys):
299299
300300 # Get location of the transcript
301301 test_dir = os .path .dirname (request .module .__file__ )
302- transcript_file = os .path .join (test_dir , 'transcript_regex.txt' )
302+ transcript_file = os .path .join (test_dir , 'transcripts/ transcript_regex.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 ]
0 commit comments