aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriaz1607 <iaz1607@yandex-team.com>2022-08-09 10:44:21 +0300
committeriaz1607 <iaz1607@yandex-team.com>2022-08-09 10:44:21 +0300
commit9fdb115ad0614c4aaffe056c184bd23155bd4d2b (patch)
treec4fac08c822255a8d5c3f13730bc8811a10ae7dc
parent922383b00a3f6e1dc02311d44d6f8c9ea3f5c622 (diff)
downloadydb-9fdb115ad0614c4aaffe056c184bd23155bd4d2b.tar.gz
[]: Fix test context files
-rw-r--r--library/python/testing/yatest_lib/ya.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/python/testing/yatest_lib/ya.py b/library/python/testing/yatest_lib/ya.py
index dc4011db92..ab1a5366f2 100644
--- a/library/python/testing/yatest_lib/ya.py
+++ b/library/python/testing/yatest_lib/ya.py
@@ -102,7 +102,9 @@ class Ya(object):
self._env_file = context_internal.get("env_file")
if context:
- self._context.update(context)
+ for k, v in context.items():
+ if k not in self._context or v is not None:
+ self._context[k] = v
@property
def source_root(self):