From 90be20bef47d3a31f5f68e5b32d7d3469b63b2f4 Mon Sep 17 00:00:00 2001 From: Johan Marcusson Date: Mon, 22 Jan 2024 16:26:39 +0100 Subject: [PATCH] pydantic started using json schema defs? --- src/cnaas_nms/api/tests/test_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cnaas_nms/api/tests/test_settings.py b/src/cnaas_nms/api/tests/test_settings.py index c89ba613..51b62108 100644 --- a/src/cnaas_nms/api/tests/test_settings.py +++ b/src/cnaas_nms/api/tests/test_settings.py @@ -39,7 +39,7 @@ def test_settings_model(testclient: FlaskClient): result = testclient.get("/api/v1.0/settings/model") assert result.status_code == 200 assert result.content_type == "application/json" - assert "definitions" in result.json + assert "$defs" in result.json def test_settings_server(testclient: FlaskClient):