예제 #1
0
 def test_invalid_uuid_5(self, value):
     with self.assertRaises(InvalidIssuerVersion):
         UUIDHelper().from_string(value, 5)
예제 #2
0
 def test_valid_uuid_5(self, value):
     UUIDHelper().from_string(value, 5)
예제 #3
0
 def test_invalid_uuid_validate_version(self, value):
     with self.assertRaises(InvalidIssuerFormat):
         UUIDHelper().validate_version(value, None)
예제 #4
0
 def test_valid_uuid_default(self, value):
     UUIDHelper().from_string(value)
예제 #5
0
 def test_invalid_uuid_from_string(self, value):
     with self.assertRaises(InvalidIssuerFormat):
         UUIDHelper().from_string(value)