From f53681f4a99a043e7c9c372eb622f5395fd2f009 Mon Sep 17 00:00:00 2001 From: Timothy Crosley Date: Wed, 3 Apr 2019 23:21:41 -0700 Subject: Fix test case --- test_isort.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_isort.py b/test_isort.py index 21324376..44775c14 100644 --- a/test_isort.py +++ b/test_isort.py @@ -2973,8 +2973,8 @@ def test_failing_file_check_916(): 'from __future__ import unicode_literals\n') settings = {'known_future_library': 'future', 'import_heading_future': 'FUTURE', - 'sections': 'FUTURE,STDLIB,NORDIGEN,FIRSTPARTY,THIRDPARTY,LOCALFOLDER', + 'sections': ['FUTURE', 'STDLIB', 'NORDIGEN', 'FIRSTPARTY', 'THIRDPARTY', 'LOCALFOLDER'], 'indent': ' ', 'multi_line_output': 3, 'lines_after_imports': 2} - assert SortImports(test_input, **settings).output == expected_output + assert SortImports(file_contents=test_input, **settings).output == expected_output -- cgit v1.2.1