summaryrefslogtreecommitdiff
path: root/tests/test_transcript.py
diff options
context:
space:
mode:
authorJared Crapo <jared@kotfu.net>2017-08-20 12:49:12 -0600
committerJared Crapo <jared@kotfu.net>2017-08-20 12:49:12 -0600
commit7fc847b3b5c52ff1f1ca632112bb9543e803940e (patch)
tree785267a1f0b8d133b1305daba0bc86c1da9abc2d /tests/test_transcript.py
parenteae9157b711f333bb2895ca2b92019d7463bca8b (diff)
downloadcmd2-git-7fc847b3b5c52ff1f1ca632112bb9543e803940e.tar.gz
Move transcripts into their own directory
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 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]