Exemplo n.º 1
0
 def test1(self):
     assert gen_user_friendly_version("1.0.0.2.0") == "1.0"
     assert gen_user_friendly_version("1.2.2.2.0") == "1.2.2"
     assert gen_user_friendly_version("2.0.5.0.3") == "2.0.5 Alpha 3"
     assert gen_user_friendly_version("2.2.1.1.0") == "2.2.1 Beta"
Exemplo n.º 2
0
 def test1(self):
     assert gen_user_friendly_version('1.0.0.2.0') == '1.0'
     assert gen_user_friendly_version('1.2.2.2.0') == '1.2.2'
     assert gen_user_friendly_version('2.0.5.0.3') == '2.0.5 Alpha 3'
     assert gen_user_friendly_version('2.2.1.1.0') == '2.2.1 Beta'
Exemplo n.º 3
0
 def test1(self):
     assert gen_user_friendly_version('1.0.0.2.0') == '1.0'
     assert gen_user_friendly_version('1.2.2.2.0') == '1.2.2'
     assert gen_user_friendly_version('2.0.5.0.3') == '2.0.5 Alpha 3'
     assert gen_user_friendly_version('2.2.1.1.0') == '2.2.1 Beta'