diff options
author | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
---|---|---|
committer | monster <monster@ydb.tech> | 2022-07-07 14:41:37 +0300 |
commit | 06e5c21a835c0e923506c4ff27929f34e00761c2 (patch) | |
tree | 75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /library/python/svn_version/ut/test_simple.py | |
parent | 03f024c4412e3aa613bb543cf1660176320ba8f4 (diff) | |
download | ydb-06e5c21a835c0e923506c4ff27929f34e00761c2.tar.gz |
fix ya.make
Diffstat (limited to 'library/python/svn_version/ut/test_simple.py')
-rw-r--r-- | library/python/svn_version/ut/test_simple.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/library/python/svn_version/ut/test_simple.py b/library/python/svn_version/ut/test_simple.py deleted file mode 100644 index 50fa78f55d..0000000000 --- a/library/python/svn_version/ut/test_simple.py +++ /dev/null @@ -1,24 +0,0 @@ -import library.python.svn_version as sv - - -def test_simple(): - assert sv.svn_version() - assert isinstance(sv.svn_version(), str) - - assert sv.vcs() - assert isinstance(sv.vcs(), str) - - # svn_revision() will be -1 on non-trunk commits via arc - # svn revision of 0 technically may exist, but practiacally it will never appear here - assert sv.svn_revision() >= 0 or (sv.vcs() != "svn" and sv.svn_revision() == -1) - assert isinstance(sv.svn_revision(), int) - - # svn_last_revision() will be equal to zero on non-trunk commits - assert sv.svn_last_revision() >= 0 or (sv.vcs() != "svn" and sv.svn_last_revision() == -1) - assert isinstance(sv.svn_last_revision(), int) - - assert sv.commit_id() - assert isinstance(sv.commit_id(), str) - assert len(sv.commit_id()) > 0 - assert isinstance(sv.hash(), str) - assert isinstance(sv.patch_number(), int) |