We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beaa08a commit d0e163bCopy full SHA for d0e163b
tests/unit/schema/test_schemas.py
@@ -50,19 +50,19 @@ def test_string_valid(self):
50
51
assert result == value
52
53
- def test_string_valid_uuid_str(self):
+ def test_string_format_uuid_valid(self):
54
schema = Schema(SchemaType.STRING, schema_format=SchemaFormat.UUID)
55
value = str(uuid.uuid4())
56
57
result = schema.unmarshal(value)
58
59
assert result == uuid.UUID(value)
60
61
- def test_string_valid_uuid(self):
62
63
value = uuid.uuid4()
64
65
- result = schema.unmarshal(value)
+ result = schema.unmarshal(value, strict=False)
66
67
68
0 commit comments