summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2015-02-19 01:37:35 -0500
committerTimothy Crosley <timothy.crosley@gmail.com>2015-02-19 01:37:35 -0500
commit99a1bc92044b9020a2dec8d4ea915a487c0cf0e9 (patch)
tree6ab5a6c35500b53234c55b0202c7697ac35f16b2
parentc1e4bf0df7b640a7b02e04663e4d0bb3e8bdf1a4 (diff)
downloadisort-99a1bc92044b9020a2dec8d4ea915a487c0cf0e9.tar.gz
Make test more explicit
-rw-r--r--test_isort.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test_isort.py b/test_isort.py
index 55db9dee..5ca0d67d 100644
--- a/test_isort.py
+++ b/test_isort.py
@@ -1308,7 +1308,8 @@ def test_uses_jinja_variables():
"import os\n"
"import myproject.{ test }\n"
"import django.{ settings }")
- test_output = SortImports(file_contents=test_input, known_third_party=['{ django']).output
+ test_output = SortImports(file_contents=test_input, known_third_party=['django'],
+ known_first_party=['myproject']).output
assert test_output == ("import os\n"
"import sys\n"
"\n"