Skip to content

Commit 02190a7

Browse files
committed
update
1 parent 081b74b commit 02190a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

services/api-server/tests/test_utils_pydantic.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,14 @@ def test_compare_pydantic_vs_fastapi_schemas(
149149
):
150150

151151
# NOTE @all: I cannot understand this?!
152-
assert fastapi_schema["properties"] != pydantic_schema["properties"]
152+
assert fastapi_schema["properties"] == pydantic_schema["properties"]
153153

154154

155155
def test_differences_between_new_pydantic_url_types():
156156
# SEE https://docs.pydantic.dev/2.10/api/networks/
157157

158-
# | **URL** | **AnyUrl** | **HttpUrl** | **AnyHttpUrl** |
159-
# |-------------------------------|------------|-------------|----------------|
158+
# | **URL** | **AnyUrl** | **AnyHttpUrl** | **HttpUrl** |
159+
# |-------------------------------|-------------|--------------|-----------------|
160160
# | `http://example.com` | ✅ | ✅ | ✅ |
161161
# | `https://example.com/resource`| ✅ | ✅ | ✅ |
162162
# | `ftp://example.com` | ✅ | ❌ | ❌ |

0 commit comments

Comments
 (0)