summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorkotfu <kotfu@kotfu.net>2018-05-06 13:58:05 -0600
committerkotfu <kotfu@kotfu.net>2018-05-06 14:02:33 -0600
commitdb41cc3743eb45f0c53a387265f8cf496bbacd29 (patch)
tree38b5f78efab648e8b52b6c15284413a7d1970de9 /tests
parenta1cbef5b4af0831ad57e4eaa75bdd77c15cb004b (diff)
downloadcmd2-git-db41cc3743eb45f0c53a387265f8cf496bbacd29.tar.gz
Defer import of unittest
Diffstat (limited to 'tests')
-rw-r--r--tests/test_transcript.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py
index 70658161..99d4735e 100644
--- a/tests/test_transcript.py
+++ b/tests/test_transcript.py
@@ -17,6 +17,7 @@ import pytest
from 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()