summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test_isort.py4
1 files 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