(value, expected)
| 51 | ], |
| 52 | ) |
| 53 | def test_uuid_json(value, expected): |
| 54 | v = SchemaSerializer(core_schema.uuid_schema()) |
| 55 | assert v.to_python(value, mode='json') == expected |
| 56 | assert v.to_json(value).decode() == f'"{expected}"' |
| 57 | |
| 58 | |
| 59 | def test_any_uuid_key(): |
nothing calls this directly
no test coverage detected