summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2019-12-25 21:30:12 -0800
committerTimothy Crosley <timothy.crosley@gmail.com>2019-12-25 21:30:12 -0800
commitef8046c69bc98cca2b581af976a33beddc0e43c4 (patch)
tree13a00be14012ae514b77147e740fce5354aa3f73
parent297ec8aa09a6930d290e4cb5902c29cbc9123555 (diff)
downloadisort-ef8046c69bc98cca2b581af976a33beddc0e43c4.tar.gz
Fix CLI running test case
-rw-r--r--tests/test_isort.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/test_isort.py b/tests/test_isort.py
index e4632f41..4e3a0332 100644
--- a/tests/test_isort.py
+++ b/tests/test_isort.py
@@ -3848,7 +3848,6 @@ def test_standard_library_deprecates_user_issue_778() -> None:
assert SortImports(file_contents=test_input).output == test_input
-@pytest.mark.skip(reason="TODO: Failing for unknown reason.")
def test_settings_path_skip_issue_909(tmpdir) -> None:
base_dir = tmpdir.mkdir("project")
config_dir = base_dir.mkdir("conf")
@@ -3857,10 +3856,10 @@ def test_settings_path_skip_issue_909(tmpdir) -> None:
)
base_dir.join("file_glob_skip.py").write(
- "import os\n\n" 'print("Hello World")\n' "\nimport sys\n"
+ "import os\n\n" 'print("Hello World")\n' "\nimport sys\nimport os\n"
)
base_dir.join("file_to_be_skipped.py").write(
- "import os\n\n" 'print("Hello World")' "\nimport sys\n"
+ "import os\n\n" 'print("Hello World")' "\nimport sys\nimport os\n"
)
test_run_directory = os.getcwd()