diff options
| author | iaz1607 <[email protected]> | 2022-08-09 10:44:21 +0300 | 
|---|---|---|
| committer | iaz1607 <[email protected]> | 2022-08-09 10:44:21 +0300 | 
| commit | 9fdb115ad0614c4aaffe056c184bd23155bd4d2b (patch) | |
| tree | c4fac08c822255a8d5c3f13730bc8811a10ae7dc /library/python/testing/yatest_lib/ya.py | |
| parent | 922383b00a3f6e1dc02311d44d6f8c9ea3f5c622 (diff) | |
[]: Fix test context files
Diffstat (limited to 'library/python/testing/yatest_lib/ya.py')
| -rw-r--r-- | library/python/testing/yatest_lib/ya.py | 4 | 
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 dc4011db92b..ab1a5366f22 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):  | 
