summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2019-03-19 00:17:58 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2019-03-19 00:17:58 -0400
commite0a307c03345674bd78ff991b16816f5301d2653 (patch)
tree866121e5e259f5da438385b191d36488234ea6e5 /tests
parentdcbffdb3cf10e6b44b0aac845b372f9766d30dbb (diff)
downloadcmd2-git-e0a307c03345674bd78ff991b16816f5301d2653.tar.gz
Updated CHANGELOG
Also: - Removed guard clauses which kmvanbrunt promises will be unecessary with his upcoming change - Moved transcript path validation inside _generate_transcript()
Diffstat (limited to 'tests')
-rw-r--r--tests/test_transcript.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py
index 709648fc..6c9b8a20 100644
--- a/tests/test_transcript.py
+++ b/tests/test_transcript.py
@@ -136,7 +136,7 @@ def test_transcript(request, capsys, filename, feedback_to_output):
assert err.startswith(expected_start)
assert err.endswith(expected_end)
-def test_history_transcript(request, capsys):
+def test_history_transcript():
app = CmdLineApp()
app.stdout = StdSim(app.stdout)
run_cmd(app, 'orate this is\na /multiline/\ncommand;\n')
@@ -163,7 +163,7 @@ this is a \/multiline\/ command
assert xscript == expected
-def test_history_transcript_bad_filename(request, capsys):
+def test_history_transcript_bad_filename():
app = CmdLineApp()
app.stdout = StdSim(app.stdout)
run_cmd(app, 'orate this is\na /multiline/\ncommand;\n')