We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b12e139 commit 8de641fCopy full SHA for 8de641f
packages/models-library/tests/test_api_schemas_webserver_users.py
@@ -32,7 +32,7 @@ def test_my_profile_patch_username_min_len():
32
MyProfileRestPatch.model_validate({"userName": "abc"})
33
34
assert err_info.value.error_count() == 1
35
- assert err_info.value.errors()[0]["type"] == "too_short"
+ assert err_info.value.errors()[0]["type"] == "string_too_short"
36
37
MyProfileRestPatch.model_validate({"userName": "abcd"}) # OK
38
0 commit comments