diff options
| author | Maxim Yurchuk <[email protected]> | 2024-12-13 10:22:13 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-12-13 10:22:13 +0000 |
| commit | e73e490feb4e1f63d097697324aa48b643a62317 (patch) | |
| tree | f63fe3d15819a5148ade51609c5211251d93e425 /library/python/testing | |
| parent | 19346460a8060a0ed4731edb192745642ff34b3d (diff) | |
| parent | 4dde77404d1eae4a633d1cc3807142409a9938eb (diff) | |
Merge pull request #12582 from vitalyisaev2/rightlib_20241212
Merge rightlib 20241212
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 |
