示例#1
0
 def test_validate_name_version(self):
     self.assertIsNone(ConanName.validate_version("name", "[vvvv]"))
示例#2
0
 def _check_invalid_version(self, name, version):
     with six.assertRaisesRegex(self, InvalidNameException,
                                "invalid version number"):
         ConanName.validate_version(version, name)