diff options
Diffstat (limited to 'library/python/testing/yatest_lib/ya.py')
-rw-r--r-- | library/python/testing/yatest_lib/ya.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/python/testing/yatest_lib/ya.py b/library/python/testing/yatest_lib/ya.py index dc2c808ae9..34a72d75f6 100644 --- a/library/python/testing/yatest_lib/ya.py +++ b/library/python/testing/yatest_lib/ya.py @@ -47,10 +47,12 @@ class Ya(object): context_runtime = test_context["runtime"] context_internal = test_context.get("internal", {}) context_build = test_context.get("build", {}) + context_resources = test_context.get("resources", {}) else: context_runtime = {} context_internal = {} context_build = {} + context_resources = {} self._mode = mode self._build_root = to_str(context_runtime.get("build_root", "")) or build_root self._source_root = to_str(context_runtime.get("source_root", "")) or source_root or self._detect_source_root() @@ -92,6 +94,7 @@ class Ya(object): self._context["work_path"] = context_runtime.get("work_path") self._context["test_tool_path"] = context_runtime.get("test_tool_path") self._context["test_output_ram_drive_path"] = context_runtime.get("test_output_ram_drive_path") + self._context["ya_global_resources"] = context_resources.get("global") self._context["sanitize"] = context_build.get("sanitizer") self._context["ya_trace_path"] = context_internal.get("trace_file") |