summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2019-04-03 23:21:41 -0700
committerTimothy Crosley <timothy.crosley@gmail.com>2019-04-03 23:21:41 -0700
commitf53681f4a99a043e7c9c372eb622f5395fd2f009 (patch)
tree0c52d3c14baefe465fef0b04c96cdea7bb382046
parent2d0c62b8aaece05b11590874b1b3b5cdfd90d43d (diff)
downloadisort-f53681f4a99a043e7c9c372eb622f5395fd2f009.tar.gz
Fix test case
-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