aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.ru>2022-06-03 17:18:50 +0300
committerthegeorg <thegeorg@yandex-team.ru>2022-06-03 17:18:50 +0300
commit77fedfb145f9d85f8ee822d8887e3db1b3ba64de (patch)
treeec94938318b9f85cec4783a917e07bca7031848e /util
parent8960fec6e5d0c0c345ff3f679ebb9dd0ffbcf25b (diff)
downloadydb-77fedfb145f9d85f8ee822d8887e3db1b3ba64de.tar.gz
util: Flatten cython tests layout
ref:7427208d08ebeb9e88247fb7dac6445bc814d756
Diffstat (limited to 'util')
-rw-r--r--util/digest/ut_cython/test_digest.py (renamed from util/tests/cython/test_digest.py)0
-rw-r--r--util/folder/ut_cython/test_folder.py (renamed from util/tests/cython/test_folder.py)0
-rw-r--r--util/generic/ut_cython/test_generic.py (renamed from util/tests/cython/test_generic.py)3
-rw-r--r--util/memory/ut_cython/test_memory.py (renamed from util/tests/cython/test_memory.py)0
-rw-r--r--util/stream/ut_cython/test_stream.py (renamed from util/tests/cython/test_stream.py)0
-rw-r--r--util/string/ut_cython/test_string.py13
-rw-r--r--util/system/ut_cython/test_system.py (renamed from util/tests/cython/test_system.py)0
7 files changed, 13 insertions, 3 deletions
diff --git a/util/tests/cython/test_digest.py b/util/digest/ut_cython/test_digest.py
index 89c95df720..89c95df720 100644
--- a/util/tests/cython/test_digest.py
+++ b/util/digest/ut_cython/test_digest.py
diff --git a/util/tests/cython/test_folder.py b/util/folder/ut_cython/test_folder.py
index ca176ab2a5..ca176ab2a5 100644
--- a/util/tests/cython/test_folder.py
+++ b/util/folder/ut_cython/test_folder.py
diff --git a/util/tests/cython/test_generic.py b/util/generic/ut_cython/test_generic.py
index a0d61339cc..345d8e5c84 100644
--- a/util/tests/cython/test_generic.py
+++ b/util/generic/ut_cython/test_generic.py
@@ -10,7 +10,6 @@ from util.generic.maybe_ut import TestMaybe
from util.generic.ptr_ut import TestHolder
from util.generic.string_ut import TestStroka
from util.generic.vector_ut import TestVector
-from util.string.cast_ut import TestFromString, TestToString
# Test discovery does not work in cython modules.
# Reexporting test classes here to satisfy pylint and pytest.
@@ -24,6 +23,4 @@ __all__ = [
'TestMaybe',
'TestStroka',
'TestVector',
- 'TestFromString',
- 'TestToString',
]
diff --git a/util/tests/cython/test_memory.py b/util/memory/ut_cython/test_memory.py
index 705f384726..705f384726 100644
--- a/util/tests/cython/test_memory.py
+++ b/util/memory/ut_cython/test_memory.py
diff --git a/util/tests/cython/test_stream.py b/util/stream/ut_cython/test_stream.py
index 6abfe1de0d..6abfe1de0d 100644
--- a/util/tests/cython/test_stream.py
+++ b/util/stream/ut_cython/test_stream.py
diff --git a/util/string/ut_cython/test_string.py b/util/string/ut_cython/test_string.py
new file mode 100644
index 0000000000..f332597c59
--- /dev/null
+++ b/util/string/ut_cython/test_string.py
@@ -0,0 +1,13 @@
+# -*- coding: utf-8 -*-
+
+from __future__ import print_function, absolute_import, division
+
+from util.string.cast_ut import TestFromString, TestToString
+
+# Test discovery does not work in cython modules.
+# Reexporting test classes here to satisfy pylint and pytest.
+
+__all__ = [
+ 'TestFromString',
+ 'TestToString',
+]
diff --git a/util/tests/cython/test_system.py b/util/system/ut_cython/test_system.py
index 923fb442e5..923fb442e5 100644
--- a/util/tests/cython/test_system.py
+++ b/util/system/ut_cython/test_system.py