diff options
Diffstat (limited to 'tests/test_plugin.py')
-rw-r--r-- | tests/test_plugin.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_plugin.py b/tests/test_plugin.py index bb7753f0..132361a6 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -8,14 +8,15 @@ import sys import pytest +import cmd2 +from cmd2 import Cmd2ArgumentParser, exceptions, plugin, with_argparser + # Python 3.5 had some regressions in the unitest.mock module, so use 3rd party mock if available try: import mock except ImportError: from unittest import mock -import cmd2 -from cmd2 import exceptions, plugin, Cmd2ArgumentParser, with_argparser class Plugin: |