diff options
author | iaz1607 <iaz1607@yandex-team.ru> | 2022-06-17 12:30:11 +0300 |
---|---|---|
committer | iaz1607 <iaz1607@yandex-team.ru> | 2022-06-17 12:30:11 +0300 |
commit | 49b4f8931e17f7f8a491ebcfda9a4cf3b960159d (patch) | |
tree | 4ed57b7e27a95ed55a483dedcc0263187b305c77 /library/python/testing/yatest_common/yatest/common/runtime.py | |
parent | aff27c0a999df6e6d4b9ade862a64d3813e9512f (diff) | |
download | ydb-49b4f8931e17f7f8a491ebcfda9a4cf3b960159d.tar.gz |
Strict go test
ref:6ef4c0e7601ad32073264a38b583a6d2d33bce94
Diffstat (limited to 'library/python/testing/yatest_common/yatest/common/runtime.py')
-rw-r--r-- | library/python/testing/yatest_common/yatest/common/runtime.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/library/python/testing/yatest_common/yatest/common/runtime.py b/library/python/testing/yatest_common/yatest/common/runtime.py index e55e193446..d5aba76315 100644 --- a/library/python/testing/yatest_common/yatest/common/runtime.py +++ b/library/python/testing/yatest_common/yatest/common/runtime.py @@ -131,6 +131,7 @@ def ram_drive_path(path=None): """ if 'YA_TEST_RAM_DRIVE_PATH' in os.environ: return _join_path(os.environ['YA_TEST_RAM_DRIVE_PATH'], path) + return get_param("ram_drive_path") def output_ram_drive_path(path=None): @@ -141,6 +142,7 @@ def output_ram_drive_path(path=None): """ if 'YA_TEST_OUTPUT_RAM_DRIVE_PATH' in os.environ: return _join_path(os.environ['YA_TEST_OUTPUT_RAM_DRIVE_PATH'], path) + return _get_ya_plugin_instance().get_context("test_output_ram_drive_path") def binary_path(path=None): @@ -316,6 +318,10 @@ class Context(object): return _get_ya_config().current_test_name @property + def test_tool_path(self): + return _get_ya_plugin_instance().get_context("test_tool_path") + + @property def sanitize(self): """ Detect if current test run is under sanitizer |