aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Yurchuk <maxim-yurchuk@ydb.tech>2024-12-24 16:10:15 +0000
committerGitHub <noreply@github.com>2024-12-24 19:10:15 +0300
commitcb9731fda6c2a5c546d633438f7a33edda846a96 (patch)
tree6da99d1360c70c2be1c13188a60893ee763bb0c3
parente7be7508f52464bfb952b6bd1818e40062ad4bed (diff)
downloadydb-cb9731fda6c2a5c546d633438f7a33edda846a96.tar.gz
Remove ydb/tests/functional/open_source (#12930)
-rw-r--r--ydb/tests/functional/open_source/resource.txt1
-rwxr-xr-xydb/tests/functional/open_source/script.sh6
-rw-r--r--ydb/tests/functional/open_source/test_yatest_common.py20
-rw-r--r--ydb/tests/functional/open_source/ya.make13
-rw-r--r--ydb/tests/functional/ya.make1
5 files changed, 0 insertions, 41 deletions
diff --git a/ydb/tests/functional/open_source/resource.txt b/ydb/tests/functional/open_source/resource.txt
deleted file mode 100644
index d95f3ad14d..0000000000
--- a/ydb/tests/functional/open_source/resource.txt
+++ /dev/null
@@ -1 +0,0 @@
-content
diff --git a/ydb/tests/functional/open_source/script.sh b/ydb/tests/functional/open_source/script.sh
deleted file mode 100755
index c77cca20a4..0000000000
--- a/ydb/tests/functional/open_source/script.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-ya make -t --test-prepare
-export PYTHONPATH=${PYTHONPATH}:${HOME}/arcadia/library/python/testing:${HOME}/arcadia/library/python/pytest/plugins:${HOME}/arcadia/library/python/testing/yatest_common:${HOME}/arcadia
-export YA_TEST_CONTEXT_FILE=`readlink test-results/py3test/test.context`
-PYTEST_PLUGINS=ya,conftests pytest test_yatest_common.py
diff --git a/ydb/tests/functional/open_source/test_yatest_common.py b/ydb/tests/functional/open_source/test_yatest_common.py
deleted file mode 100644
index d3556858a5..0000000000
--- a/ydb/tests/functional/open_source/test_yatest_common.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# -*- coding: utf-8 -*-
-import os
-import json
-import yatest.common as ya_common
-
-
-class TestYaTestContext(object):
- def test_source_path(self):
- resource_path = 'ydb/tests/functional/open_source/resource.txt'
- arcadia_root = ya_common.source_path('')
- ya_source_path = os.path.join(arcadia_root, ya_common.test_source_path('resource.txt'))
-
- context_file = os.getenv('YA_TEST_CONTEXT_FILE')
-
- if context_file:
- with open(context_file, 'r') as content:
- context_source_path = os.path.join(json.load(content)['runtime']['source_root'], resource_path)
- assert ya_source_path == context_source_path
-
- assert os.path.exists(ya_source_path)
diff --git a/ydb/tests/functional/open_source/ya.make b/ydb/tests/functional/open_source/ya.make
deleted file mode 100644
index c227c0b315..0000000000
--- a/ydb/tests/functional/open_source/ya.make
+++ /dev/null
@@ -1,13 +0,0 @@
-PY3TEST()
-
-TEST_SRCS(
- test_yatest_common.py
-)
-
-SIZE(SMALL)
-
-PEERDIR(
- library/python/testing/yatest_common_standalone
-)
-
-END()
diff --git a/ydb/tests/functional/ya.make b/ydb/tests/functional/ya.make
index 19cce7680f..d1d73bf95b 100644
--- a/ydb/tests/functional/ya.make
+++ b/ydb/tests/functional/ya.make
@@ -17,7 +17,6 @@ RECURSE(
large_serializable
limits
minidumps
- open_source
postgresql
query_cache
rename