diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2019-11-07 23:41:48 -0800 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2019-11-07 23:41:48 -0800 |
commit | aaac1ae0667dabe6fd038c9f5a42c157b9457ef1 (patch) | |
tree | 09cf2f2e0c36f7b3ab250ef6b33eb2bb36a627c8 | |
parent | 6f58262f8783dd22c0d8e62f6ad6836fe4d7efe1 (diff) | |
download | isort-aaac1ae0667dabe6fd038c9f5a42c157b9457ef1.tar.gz |
Fix use of default config to match new refactor
-rw-r--r-- | tests/test_parse.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_parse.py b/tests/test_parse.py index 503f4b2c..ffae47a3 100644 --- a/tests/test_parse.py +++ b/tests/test_parse.py @@ -1,7 +1,7 @@ from hypothesis_auto import auto_pytest_magic from isort import parse -from isort.settings import default +from isort.settings import Config TEST_CONTENTS = """ import xyz @@ -30,7 +30,7 @@ def test_file_contents(): line_separator, sections, section_comments, - ) = parse.file_contents(TEST_CONTENTS, config=default) + ) = parse.file_contents(TEST_CONTENTS, config=Config()) assert "\n".join(in_lines) == TEST_CONTENTS assert "import" not in "\n".join(out_lines) assert import_index == 1 |