diff options
| author | robot-piglet <[email protected]> | 2023-10-03 15:02:38 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2023-10-03 16:04:35 +0300 |
| commit | 5478b8f55cc7055a4861c4030e0c401b5c72714c (patch) | |
| tree | 3d003e5b4c1800297fcc491faffc9a006d174289 /library/python/testing/yatest_common/ut/test.py | |
| parent | ca778ad9bfb31839b0f05a4995753bc61db648ad (diff) | |
Intermediate changes
Diffstat (limited to 'library/python/testing/yatest_common/ut/test.py')
| -rw-r--r-- | library/python/testing/yatest_common/ut/test.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/library/python/testing/yatest_common/ut/test.py b/library/python/testing/yatest_common/ut/test.py deleted file mode 100644 index bffdf1e3535..00000000000 --- a/library/python/testing/yatest_common/ut/test.py +++ /dev/null @@ -1,17 +0,0 @@ -import os -import tarfile - -import yatest.common - -import yalibrary.tools - - -def test_jdk_from_package_equals_jdk_tool_from_yaconf_json(): - jdk_path = yatest.common.binary_path(os.path.join('build', 'platform', 'java', 'jdk', 'testing')) - os.makedirs("extracted") - with tarfile.open(os.path.join(jdk_path, "jdk.tar")) as tf: - tf.extractall("extracted") - jdk_tool_path = yalibrary.tools.toolchain_root('java', None, None) - with open(os.path.join("extracted", "release")) as jdk_path_release: - with open(os.path.join(jdk_tool_path, "release")) as jdk_tool_path_release: - assert jdk_path_release.read() == jdk_tool_path_release.read() |
