From 445519ecd552158f55ce553ce65740bd48e52b14 Mon Sep 17 00:00:00 2001 From: libretto Date: Fri, 25 Oct 2024 20:09:25 +0300 Subject: [PATCH] fixup after merge --- tests/integration/test_schema_avro_references.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_schema_avro_references.py b/tests/integration/test_schema_avro_references.py index b1308e0e8..7beea1f54 100644 --- a/tests/integration/test_schema_avro_references.py +++ b/tests/integration/test_schema_avro_references.py @@ -247,7 +247,7 @@ async def test_avro_references_compatibility(registry_async_client: Client) -> N }, ) assert res.status_code == 200 - assert res.json() == {"is_compatible": False} + assert res.json() == {"is_compatible": False, "messages": ["reader type: string not compatible with writer type: int"]} async def test_avro_union_references(registry_async_client: Client) -> None: @@ -291,5 +291,5 @@ async def test_avro_incompatible_name_references(registry_async_client: Client) }, ) assert res.status_code == 409 - msg = "Incompatible schema, compatibility_mode=BACKWARD expected: com.netapp.Address" + msg = "Incompatible schema, compatibility_mode=BACKWARD. Incompatibilities: expected: com.netapp.Address" assert res.json()["message"] == msg