mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Adjust version_helper test cases to proper tags
This commit is contained in:
parent
07203a4542
commit
2ac95ccfce
@ -11,11 +11,11 @@ class TestFunctions(unittest.TestCase):
|
||||
cases = (
|
||||
("0.0.0.0", vh.get_version_from_string("0.0.0.0")),
|
||||
("1.1.1.2", vh.get_version_from_string("1.1.1.2")),
|
||||
("v1.1.1.2-lts", vh.get_version_from_string("1.1.1.2")),
|
||||
("v1.1.1.2-prestable", vh.get_version_from_string("1.1.1.2")),
|
||||
("v1.1.1.2-stable", vh.get_version_from_string("1.1.1.2")),
|
||||
("v1.1.1.2-testing", vh.get_version_from_string("1.1.1.2")),
|
||||
("refs/tags/v1.1.1.2-testing", vh.get_version_from_string("1.1.1.2")),
|
||||
("v11.1.1.2-lts", vh.get_version_from_string("11.1.1.2")),
|
||||
("v01.1.1.2-prestable", vh.get_version_from_string("1.1.1.2")),
|
||||
("v21.1.1.2-stable", vh.get_version_from_string("21.1.1.2")),
|
||||
("v31.1.1.2-testing", vh.get_version_from_string("31.1.1.2")),
|
||||
("refs/tags/v31.1.1.2-testing", vh.get_version_from_string("31.1.1.2")),
|
||||
)
|
||||
for test_case in cases:
|
||||
version = vh.version_arg(test_case[0])
|
||||
@ -25,6 +25,7 @@ class TestFunctions(unittest.TestCase):
|
||||
"1.1.1.a",
|
||||
"1.1.1.1.1",
|
||||
"1.1.1.2-testing",
|
||||
"v1.1.1.2-testing",
|
||||
"v1.1.1.2-testin",
|
||||
"refs/tags/v1.1.1.2-testin",
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user