Added completions test with fuzzy=True

This commit is contained in:
Johannes Maria Frank committed 2019-10-04 17:18:01 +01:00
1 parent 85278242c3
commit 0b56bf8f08
3 files changed
+15 -6

No files matched your search

+2 -2
View File
@@ -201,7 +201,7 @@ class Script(object):
self._inference_state.environment,
)
def completions(self):
def completions(self, fuzzy=False):
"""
Return :class:`classes.Completion` objects. Those objects contain
information about the completions, more than just names.
@@ -214,7 +214,7 @@ class Script(object):
self._inference_state, self._get_module_context(), self._code_lines,
self._pos, self.call_signatures
)
return completion.completions()
return completion.completions(fuzzy)
def goto_definitions(self, **kwargs):
"""