diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-12-12 13:15:03 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-12-12 13:33:22 +0300 |
commit | 2fa0ef191a3e4958ba689ecdc0aabc756385ca13 (patch) | |
tree | 8833e1fe6be84310349bc960c852f28902bb0d0b /library/python/testing | |
parent | a0ab79ee3d99df566509c5cb1e42129017424703 (diff) | |
download | ydb-2fa0ef191a3e4958ba689ecdc0aabc756385ca13.tar.gz |
Switch all tests to atd from snapshot
commit_hash:a9a7c2df09742a540851227c4fcb7d925edd9793
Diffstat (limited to 'library/python/testing')
-rw-r--r-- | library/python/testing/yatest_common/yatest/common/runtime.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/python/testing/yatest_common/yatest/common/runtime.py b/library/python/testing/yatest_common/yatest/common/runtime.py index e4f246d5c83..99a6799109b 100644 --- a/library/python/testing/yatest_common/yatest/common/runtime.py +++ b/library/python/testing/yatest_common/yatest/common/runtime.py @@ -190,9 +190,9 @@ def data_path(path=None): :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 """ - if "USE_ATD_FROM_SNAPSHOT" in os.environ: - return os.path.join(source_path(), "atd_ro_snapshot", path) - return _join_path(_get_ya_plugin_instance().data_root, path) + 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) @default_arg0 |