deprecated api_classes.Completion.word in favor of name

This commit is contained in:
David Halter
2013-05-03 20:38:37 +04:30
parent beae920177
commit 49e51f5a1a
5 changed files with 33 additions and 22 deletions

View File

@@ -151,7 +151,7 @@ class IntegrationTestCase(object):
completions = self.script().completions()
#import cProfile; cProfile.run('script.completions()')
comp_str = set([c.word for c in completions])
comp_str = set([c.name for c in completions])
return compare_cb(self, comp_str, set(literal_eval(self.correct)))
def run_definition(self, compare_cb):