Fix an exception in the flask ext code.

This commit is contained in:
Albertas Agejevas
2014-07-27 13:43:20 +02:00
parent a18f8a7cbb
commit 5edd2274b2
2 changed files with 6 additions and 1 deletions

View File

@@ -52,3 +52,7 @@ def test_flask_ext(script, name):
"""flask.ext.foo is really imported from flaskext.foo or flask_foo.
"""
assert name in [c.name for c in jedi.Script(script).completions()]
def test_flask_regression():
jedi.Script("from flask.ext.").completions()