summaryrefslogtreecommitdiff
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
parenteae9157b711f333bb2895ca2b92019d7463bca8b (diff)
downloadcmd2-git-7fc847b3b5c52ff1f1ca632112bb9543e803940e.tar.gz
Move transcripts into their own directory
-rw-r--r--tests/test_transcript.py6
-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