summaryrefslogtreecommitdiff
path: root/tests/test_transcript.py
diff options
context:
space:
mode:
authoranselor <anselor@gmail.com>2018-05-02 15:29:45 -0400
committerGitHub <noreply@github.com>2018-05-02 15:29:45 -0400
commitd37004d05d0be67f48f35d6986ea899a35bcf89f (patch)
treeb4575eda772450b54620d16c09d4d29c52abdec7 /tests/test_transcript.py
parent01e4e0296adf57c920c1e12c3c92f45f615894b1 (diff)
parenta95c8a065abeac286c196783393ecc49e4356f54 (diff)
downloadcmd2-git-d37004d05d0be67f48f35d6986ea899a35bcf89f.tar.gz
Merge pull request #379 from python-cmd2/pyscript
This merges pyscript and bash_completion branches into master
Diffstat (limited to 'tests/test_transcript.py')
-rw-r--r--tests/test_transcript.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py
index 8ee5f3f6..4f821c06 100644
--- a/tests/test_transcript.py
+++ b/tests/test_transcript.py
@@ -14,8 +14,8 @@ import random
from unittest import mock
import pytest
-import cmd2
-from cmd2 import set_posix_shlex, set_strip_quotes
+from cmd2 import cmd2
+from cmd2.cmd2 import set_posix_shlex, set_strip_quotes
from .conftest import run_cmd, StdOut, normalize
class CmdLineApp(cmd2.Cmd):
@@ -189,7 +189,7 @@ now: --->
assert out == expected
-class TestMyAppCase(cmd2.cmd2.Cmd2TestCase):
+class TestMyAppCase(cmd2.Cmd2TestCase):
CmdApp = CmdLineApp
CmdApp.testfiles = ['tests/transcript.txt']
@@ -293,7 +293,7 @@ def test_transcript(request, capsys, filename, feedback_to_output):
def test_parse_transcript_expected(expected, transformed):
app = CmdLineApp()
- class TestMyAppCase(cmd2.cmd2.Cmd2TestCase):
+ class TestMyAppCase(cmd2.Cmd2TestCase):
cmdapp = app
testcase = TestMyAppCase()