summaryrefslogtreecommitdiff
path: root/tests/test_transcript.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-05-02 15:22:14 -0400
committerEric Lin <anselor@gmail.com>2018-05-02 15:22:14 -0400
commita55f0b6ed559d03f2d8b596898d638b288c11a68 (patch)
tree54d84c8d1d7c14247ac3a22186ed106190a8b494 /tests/test_transcript.py
parentdbf4846e8bc0e6ca38c928d8fe4752f9b6173803 (diff)
parenta95c8a065abeac286c196783393ecc49e4356f54 (diff)
downloadcmd2-git-a55f0b6ed559d03f2d8b596898d638b288c11a68.tar.gz
Merge branch 'test_merge' into test_ply_merge
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 6330ab09..c0fb49c1 100644
--- a/tests/test_transcript.py
+++ b/tests/test_transcript.py
@@ -14,7 +14,7 @@ import random
from unittest import mock
import pytest
-import cmd2
+from cmd2 import cmd2
from .conftest import run_cmd, StdOut, normalize
class CmdLineApp(cmd2.Cmd):
@@ -184,7 +184,7 @@ now: --->
assert out == expected
-class TestMyAppCase(cmd2.cmd2.Cmd2TestCase):
+class TestMyAppCase(cmd2.Cmd2TestCase):
CmdApp = CmdLineApp
CmdApp.testfiles = ['tests/transcript.txt']
@@ -288,7 +288,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()