deprecate 'source_path' as a Script parameter in favour of 'path'

This commit is contained in:
David Halter
2013-08-15 19:25:19 +04:30
parent 98fc11ecfd
commit fbcecaf1ef
6 changed files with 33 additions and 19 deletions

View File

@@ -178,7 +178,7 @@ class IntegrationTestCase(object):
return should_str
script = self.script()
should_str = definition(self.correct, self.start, script.source_path)
should_str = definition(self.correct, self.start, script.path)
result = script.goto_definitions()
is_str = set(r.desc_with_module for r in result)
return compare_cb(self, is_str, should_str)