summaryrefslogtreecommitdiff
path: root/tests/test_main.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_main.py')
-rw-r--r--tests/test_main.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_main.py b/tests/test_main.py
index 300108a0..f8447a37 100644
--- a/tests/test_main.py
+++ b/tests/test_main.py
@@ -19,3 +19,8 @@ def test_is_python_file_fifo(tmpdir):
fifo_file = os.path.join(tmpdir, "fifo_file")
os.mkfifo(fifo_file)
assert not main.is_python_file(fifo_file)
+
+
+def test_isort_command():
+ """Ensure ISortCommand got registered, otherwise setuptools error must have occured"""
+ assert main.ISortCommand