aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/wcwidth/py2/tests/test_table_integrity.py
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-02-04 02:13:03 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-02-04 02:31:01 +0300
commit9b729c17b913155dd17d52abe558cf647f8838d2 (patch)
tree38b8b5874c869cba5cd7e5fd276c85a12d39bc80 /contrib/python/wcwidth/py2/tests/test_table_integrity.py
parentf8298c4cf5f642353e0c5e7cd058721a7210cb51 (diff)
downloadydb-9b729c17b913155dd17d52abe558cf647f8838d2.tar.gz
Intermediate changes
Diffstat (limited to 'contrib/python/wcwidth/py2/tests/test_table_integrity.py')
-rw-r--r--contrib/python/wcwidth/py2/tests/test_table_integrity.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/python/wcwidth/py2/tests/test_table_integrity.py b/contrib/python/wcwidth/py2/tests/test_table_integrity.py
new file mode 100644
index 0000000000..66e63ddbe3
--- /dev/null
+++ b/contrib/python/wcwidth/py2/tests/test_table_integrity.py
@@ -0,0 +1,15 @@
+"""
+Executes verify-table-integrity.py as a unit test.
+"""
+import os
+import sys
+import subprocess
+
+import pytest
+
+@pytest.mark.skipif(sys.version_info[:2] != (3, 12), reason='Test only with a single version of python')
+def test_verify_table_integrity():
+ subprocess.check_output([sys.executable, os.path.join(os.path.dirname(__file__),
+ os.path.pardir,
+ 'bin',
+ 'verify-table-integrity.py')]) \ No newline at end of file