Skip to content

Commit

Permalink
pydantic started using json schema defs?
Browse files Browse the repository at this point in the history
  • Loading branch information
indy-independence committed Jan 22, 2024
1 parent f13c6c3 commit 90be20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cnaas_nms/api/tests/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 90be20b

Please sign in to comment.