Make the new project API fully work in tests

This commit is contained in:
Dave Halter committed 2018-01-17 09:54:11 +01:00
1 parent fe813292cf
commit 9b5e3447d9
6 files changed
+20 -14

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ class Script(object):
project = get_default_project()
# TODO deprecate and remove sys_path from the Script API.
project._sys_path = sys_path
self._evaluator = Evaluator(project, environment)
self._evaluator = Evaluator(project, environment=environment, script_path=path)
self._project = project
debug.speed('init')