summaryrefslogtreecommitdiff
path: root/tests/test_plugin.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2020-04-24 21:15:34 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2020-04-24 21:21:35 -0400
commit9b78cf4913202995dcf065ecf5077bf16fa01f95 (patch)
treea04ca95d6f67bae491f290cc71036d2a4f6b168c /tests/test_plugin.py
parent9c7bbfa5bdbf8c8d81c0cd3c3cd5179d700de0b2 (diff)
downloadcmd2-git-9b78cf4913202995dcf065ecf5077bf16fa01f95.tar.gz
Added info on semantic versioning and branching strategy to CONTRIBUTING.md
Also: - Added isort to Pipenv dev - Added setup.cfg to make it easy to run flake8, doc8, and isort directly from the command line without using invoke - Ran isort to sort includes
Diffstat (limited to 'tests/test_plugin.py')
-rw-r--r--tests/test_plugin.py5
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: