summaryrefslogtreecommitdiff
path: root/tests/test_transcript.py
diff options
context:
space:
mode:
authorkotfu <jared@kotfu.net>2018-05-24 19:07:45 -0600
committerGitHub <noreply@github.com>2018-05-24 19:07:45 -0600
commitcad21a60fa92ebe4a7c177142d273f9f7497967b (patch)
tree3cfa590653af8b7570bd4073384467d2ca736fa0 /tests/test_transcript.py
parent5d64ebee348aeffb02fc385f903c9af431e3721b (diff)
parent190fecb34ac91e25f64615f378d6d59ef6d77de8 (diff)
downloadcmd2-git-cad21a60fa92ebe4a7c177142d273f9f7497967b.tar.gz
Merge pull request #413 from python-cmd2/speedup_import
Defer certain imports
Diffstat (limited to 'tests/test_transcript.py')
-rw-r--r--tests/test_transcript.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py
index 70658161..302d80c8 100644
--- a/tests/test_transcript.py
+++ b/tests/test_transcript.py
@@ -15,8 +15,9 @@ import tempfile
from unittest import mock
import pytest
-from cmd2 import cmd2
+import cmd2
from .conftest import run_cmd, StdOut
+from cmd2 import transcript
class CmdLineApp(cmd2.Cmd):
@@ -177,7 +178,7 @@ this is a \/multiline\/ command
def test_parse_transcript_expected(expected, transformed):
app = CmdLineApp()
- class TestMyAppCase(cmd2.Cmd2TestCase):
+ class TestMyAppCase(transcript.Cmd2TestCase):
cmdapp = app
testcase = TestMyAppCase()