summaryrefslogtreecommitdiff
path: root/test_isort.py
diff options
context:
space:
mode:
Diffstat (limited to 'test_isort.py')
-rw-r--r--test_isort.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test_isort.py b/test_isort.py
index 7c44dd3f..df46a75a 100644
--- a/test_isort.py
+++ b/test_isort.py
@@ -2913,6 +2913,8 @@ def test_settings_path_skip_issue_909(tmpdir):
test_run_directory = os.getcwd()
os.chdir(str(base_dir))
+ with pytest.raises(Exception): # without the settings path provided: the command should not skip & identify errors
+ check_output(['isort', '--check-only'])
results = check_output(['isort', '--check-only', '--settings-path=conf/.isort.cfg'])
os.chdir(str(test_run_directory))