Beispiel #1
0
 def test_clean_version_alphanumeric(self):
     version = tools.clean_version('7.0alpha-20121206-000102')
     self.assertEqual(version, '7.0')
Beispiel #2
0
 def test_clean_version_numeric(self):
     version = tools.clean_version('6.1')
     self.assertEqual(version, '6.1')