diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_transcript.py | 6 | ||||
-rw-r--r-- | tests/transcripts/multiline_transcript.txt (renamed from tests/multiline_transcript.txt) | 0 | ||||
-rw-r--r-- | tests/transcripts/transcript.txt (renamed from tests/transcript.txt) | 0 | ||||
-rw-r--r-- | tests/transcripts/transcript_regex.txt (renamed from tests/transcript_regex.txt) | 0 |
4 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py index 2400066e..bf0005ea 100644 --- a/tests/test_transcript.py +++ b/tests/test_transcript.py @@ -240,7 +240,7 @@ def test_transcript_from_cmdloop(request, capsys): # Get location of the transcript test_dir = os.path.dirname(request.module.__file__) - transcript_file = os.path.join(test_dir, 'transcript.txt') + transcript_file = os.path.join(test_dir, 'transcripts/transcript.txt') # Need to patch sys.argv so cmd2 doesn't think it was called with arguments equal to the py.test args testargs = ['prog', '-t', transcript_file] @@ -266,7 +266,7 @@ def test_multiline_command_transcript_with_comments_at_beginning(request, capsys # Get location of the transcript test_dir = os.path.dirname(request.module.__file__) - transcript_file = os.path.join(test_dir, 'multiline_transcript.txt') + transcript_file = os.path.join(test_dir, 'transcripts/multiline_transcript.txt') # Need to patch sys.argv so cmd2 doesn't think it was called with arguments equal to the py.test args testargs = ['prog', '-t', transcript_file] @@ -299,7 +299,7 @@ def test_regex_transcript(request, capsys): # Get location of the transcript test_dir = os.path.dirname(request.module.__file__) - transcript_file = os.path.join(test_dir, 'transcript_regex.txt') + transcript_file = os.path.join(test_dir, 'transcripts/transcript_regex.txt') # Need to patch sys.argv so cmd2 doesn't think it was called with arguments equal to the py.test args testargs = ['prog', '-t', transcript_file] diff --git a/tests/multiline_transcript.txt b/tests/transcripts/multiline_transcript.txt index 5fe9122c..5fe9122c 100644 --- a/tests/multiline_transcript.txt +++ b/tests/transcripts/multiline_transcript.txt diff --git a/tests/transcript.txt b/tests/transcripts/transcript.txt index e95b9b39..e95b9b39 100644 --- a/tests/transcript.txt +++ b/tests/transcripts/transcript.txt diff --git a/tests/transcript_regex.txt b/tests/transcripts/transcript_regex.txt index a310224b..a310224b 100644 --- a/tests/transcript_regex.txt +++ b/tests/transcripts/transcript_regex.txt |