aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/testing/yatest_common/yatest/common/legacy.py
blob: 459972d2532964a7934131a69824c3aa883225f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
from . import canonical


def old_canonical_file(output_file_name, storage_md5):
    import yalibrary.svn
    yalibrary.svn.run_svn([
        'export',
        'svn+ssh://arcadia.yandex.ru/arc/trunk/arcadia_tests_data/tests_canonical_output/' + storage_md5,
        output_file_name,
        "--force"
    ])
    return canonical.canonical_file(output_file_name)