aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/testing/yatest_lib/ya.py
diff options
context:
space:
mode:
authoriaz1607 <iaz1607@yandex-team.ru>2022-07-01 13:56:22 +0300
committeriaz1607 <iaz1607@yandex-team.ru>2022-07-01 13:56:22 +0300
commit482f8cd11f01712b821456464b9bc1053f4183d2 (patch)
tree76d05e6482e3bf94eea9131975f53b7d79027ff1 /library/python/testing/yatest_lib/ya.py
parent2abceca4dde916835b8c8ed9f5d6cab8bcca1c7e (diff)
downloadydb-482f8cd11f01712b821456464b9bc1053f4183d2.tar.gz
Java strict
https://st.yandex-team.ru/DEVTOOLS-7874 ref:3260d4335ca049569cca84a26d43a821cb89f583
Diffstat (limited to 'library/python/testing/yatest_lib/ya.py')
-rw-r--r--library/python/testing/yatest_lib/ya.py3
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")