summaryrefslogtreecommitdiff
path: root/tests_isolated
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-31 23:24:47 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-31 23:24:47 -0500
commit9cb49fb2a3b980f97d5fb27ea37c6dfeee3b9ec4 (patch)
tree6d03d9b69ca6472211deb512ab80469f7b7d4802 /tests_isolated
parent43be550b235f88007c4c1792a7caff38c5ba271f (diff)
downloadcmd2-git-9cb49fb2a3b980f97d5fb27ea37c6dfeee3b9ec4.tar.gz
Add in isort changes
Diffstat (limited to 'tests_isolated')
-rw-r--r--tests_isolated/test_commandset/conftest.py16
-rw-r--r--tests_isolated/test_commandset/test_categories.py4
-rw-r--r--tests_isolated/test_commandset/test_commandset.py12
3 files changed, 24 insertions, 8 deletions
diff --git a/tests_isolated/test_commandset/conftest.py b/tests_isolated/test_commandset/conftest.py
index 85bd8504..dbf54b04 100644
--- a/tests_isolated/test_commandset/conftest.py
+++ b/tests_isolated/test_commandset/conftest.py
@@ -12,13 +12,21 @@ from typing import (
Optional,
Union,
)
-from unittest import mock
+from unittest import (
+ mock,
+)
-from pytest import fixture
+from cmd2_ext_test import (
+ ExternalTestMixin,
+)
+from pytest import (
+ fixture,
+)
import cmd2
-from cmd2.utils import StdSim
-from cmd2_ext_test import ExternalTestMixin
+from cmd2.utils import (
+ StdSim,
+)
# Prefer statically linked gnureadline if available (for macOS compatibility due to issues with libedit)
try:
diff --git a/tests_isolated/test_commandset/test_categories.py b/tests_isolated/test_commandset/test_categories.py
index 1dbd6725..71f1db8e 100644
--- a/tests_isolated/test_commandset/test_categories.py
+++ b/tests_isolated/test_commandset/test_categories.py
@@ -3,7 +3,9 @@
"""
Simple example demonstrating basic CommandSet usage.
"""
-from typing import Any
+from typing import (
+ Any,
+)
import cmd2
from cmd2 import (
diff --git a/tests_isolated/test_commandset/test_commandset.py b/tests_isolated/test_commandset/test_commandset.py
index 1fc97c2e..9fd124e3 100644
--- a/tests_isolated/test_commandset/test_commandset.py
+++ b/tests_isolated/test_commandset/test_commandset.py
@@ -5,13 +5,19 @@ Test CommandSet
"""
import argparse
-from typing import List
+from typing import (
+ List,
+)
import pytest
import cmd2
-from cmd2 import utils
-from cmd2.exceptions import CommandSetRegistrationError
+from cmd2 import (
+ utils,
+)
+from cmd2.exceptions import (
+ CommandSetRegistrationError,
+)
from .conftest import (
WithCommandSets,