Fix duplicate annotation.

This commit is contained in:
Alain IVARS 2025-05-03 09:13:55 +01:00
commit 1c23713ea1

View file

@ -194,7 +194,6 @@ class TestTools:
assert len(tools) == 2
assert tools[0].model_dump() == dict(
annotations=None,
name="create_user_users_post",
annotations=None,
description=IsStr(regex=r"^Create a new user\..*$", regex_flags=re.DOTALL),
@ -208,7 +207,6 @@ class TestTools:
},
)
assert tools[1].model_dump() == dict(
annotations=None,
name="update_user_name_users__user_id__name_patch",
annotations=None,
description=IsStr(