summaryrefslogtreecommitdiffstats
path: root/library/python/testing
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-02-03 22:48:10 +0300
committerrobot-piglet <[email protected]>2025-02-03 23:00:05 +0300
commit4da950958ca455803862272008bd5a2268831fb2 (patch)
tree72aeda9a41fac8745c48483e35ce13461e93a017 /library/python/testing
parent2601275bd199620102ad041fd2426a711589312f (diff)
Intermediate changes
commit_hash:3e80c666e788a9593668ee690b4791042eec95a5
Diffstat (limited to 'library/python/testing')
-rw-r--r--library/python/testing/yatest_common/yatest/common/runtime.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/library/python/testing/yatest_common/yatest/common/runtime.py b/library/python/testing/yatest_common/yatest/common/runtime.py
index 99a6799109b..0c9512cc11a 100644
--- a/library/python/testing/yatest_common/yatest/common/runtime.py
+++ b/library/python/testing/yatest_common/yatest/common/runtime.py
@@ -186,12 +186,10 @@ def java_bin():
@default_arg0
def data_path(path=None):
"""
- Get path inside arcadia_tests_data directory
- :param path: path relative to the arcadia_tests_data directory, e.g. yatest.common.data_path("pers/rerank_service")
- :return: absolute path inside arcadia_tests_data
+ Get path inside atd_ro_snapshot directory
+ :param path: path relative to the atd_ro_snaphot directory, e.g. yatest.common.data_path("pers/rerank_service")
+ :return: absolute path in arcadia
"""
- if "USE_ATD_FROM_ATD" in os.environ:
- return _join_path(_get_ya_plugin_instance().data_root, path)
return _join_path(source_path("atd_ro_snapshot"), path)