aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/testing
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /library/python/testing
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'library/python/testing')
-rw-r--r--library/python/testing/custom_linter_util/ya.make12
-rw-r--r--library/python/testing/filter/ya.make4
-rw-r--r--library/python/testing/import_test/ya.make5
-rw-r--r--library/python/testing/recipe/ya.make14
-rw-r--r--library/python/testing/yatest_common/ya.make38
-rw-r--r--library/python/testing/yatest_common_standalone/ya.make15
-rw-r--r--library/python/testing/yatest_lib/tests/ya.make12
-rw-r--r--library/python/testing/yatest_lib/ya.make24
8 files changed, 124 insertions, 0 deletions
diff --git a/library/python/testing/custom_linter_util/ya.make b/library/python/testing/custom_linter_util/ya.make
new file mode 100644
index 0000000000..c761b09afc
--- /dev/null
+++ b/library/python/testing/custom_linter_util/ya.make
@@ -0,0 +1,12 @@
+PY3_LIBRARY()
+
+PY_SRCS(
+ linter_params.py
+ reporter.py
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ tests
+)
diff --git a/library/python/testing/filter/ya.make b/library/python/testing/filter/ya.make
new file mode 100644
index 0000000000..8703f5dcd2
--- /dev/null
+++ b/library/python/testing/filter/ya.make
@@ -0,0 +1,4 @@
+PY23_LIBRARY()
+PY_SRCS(filter.py)
+
+END()
diff --git a/library/python/testing/import_test/ya.make b/library/python/testing/import_test/ya.make
new file mode 100644
index 0000000000..3f95288f4d
--- /dev/null
+++ b/library/python/testing/import_test/ya.make
@@ -0,0 +1,5 @@
+PY23_LIBRARY()
+
+PY_SRCS(import_test.py)
+
+END()
diff --git a/library/python/testing/recipe/ya.make b/library/python/testing/recipe/ya.make
new file mode 100644
index 0000000000..6e05a5a1ea
--- /dev/null
+++ b/library/python/testing/recipe/ya.make
@@ -0,0 +1,14 @@
+PY23_LIBRARY()
+
+PY_SRCS(
+ __init__.py
+ ports.py
+)
+
+PEERDIR(
+ contrib/python/ipdb
+ library/python/testing/yatest_common
+ library/python/testing/yatest_lib
+)
+
+END()
diff --git a/library/python/testing/yatest_common/ya.make b/library/python/testing/yatest_common/ya.make
new file mode 100644
index 0000000000..2f5aa3bf39
--- /dev/null
+++ b/library/python/testing/yatest_common/ya.make
@@ -0,0 +1,38 @@
+PY23_LIBRARY()
+
+NO_EXTENDED_SOURCE_SEARCH()
+
+PY_SRCS(
+ TOP_LEVEL
+ yatest/__init__.py
+ yatest/common/__init__.py
+ yatest/common/benchmark.py
+ yatest/common/canonical.py
+ yatest/common/environment.py
+ yatest/common/errors.py
+ yatest/common/misc.py
+ yatest/common/network.py
+ yatest/common/path.py
+ yatest/common/process.py
+ yatest/common/runtime.py
+ yatest/common/runtime_java.py
+)
+
+STYLE_PYTHON()
+
+PEERDIR(
+ contrib/python/packaging
+ contrib/python/six
+ library/python/cores
+ library/python/filelock
+ library/python/fs
+ library/python/testing/yatest_lib
+)
+
+IF (NOT CATBOOST_OPENSOURCE)
+ PEERDIR(
+ library/python/coredump_filter
+ )
+ENDIF()
+
+END()
diff --git a/library/python/testing/yatest_common_standalone/ya.make b/library/python/testing/yatest_common_standalone/ya.make
new file mode 100644
index 0000000000..8f2d5f52c3
--- /dev/null
+++ b/library/python/testing/yatest_common_standalone/ya.make
@@ -0,0 +1,15 @@
+PY23_LIBRARY()
+
+PY_SRCS(
+ __init__.py
+)
+
+STYLE_PYTHON()
+
+PEERDIR(
+ library/python/testing/yatest_common
+)
+
+PY_CONSTRUCTOR(library.python.testing.yatest_common_standalone)
+
+END()
diff --git a/library/python/testing/yatest_lib/tests/ya.make b/library/python/testing/yatest_lib/tests/ya.make
new file mode 100644
index 0000000000..fe7b1c7837
--- /dev/null
+++ b/library/python/testing/yatest_lib/tests/ya.make
@@ -0,0 +1,12 @@
+PY23_TEST()
+
+PEERDIR(
+ library/python/testing/yatest_lib
+)
+
+TEST_SRCS(
+ test_external.py
+ test_testsplitter.py
+)
+
+END()
diff --git a/library/python/testing/yatest_lib/ya.make b/library/python/testing/yatest_lib/ya.make
new file mode 100644
index 0000000000..79442b8faf
--- /dev/null
+++ b/library/python/testing/yatest_lib/ya.make
@@ -0,0 +1,24 @@
+PY23_LIBRARY()
+
+PY_SRCS(
+ NAMESPACE
+ yatest_lib
+ external.py
+ test_splitter.py
+ tools.py
+ ya.py
+)
+
+PEERDIR(
+ contrib/python/six
+)
+
+IF(PYTHON2)
+ PEERDIR(
+ contrib/deprecated/python/enum34
+ )
+ENDIF()
+
+END()
+
+RECURSE_FOR_TESTS(tests)