fix: resolve pydantic deprecation warnings (#321)

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
Emmanuel Ferdman
2025-08-25 16:58:09 +03:00
committed by GitHub
parent 7ab5da641e
commit 71032d2d4c
+2 -2
View File
@@ -61,7 +61,7 @@ class TestCRSClient:
# Verify request was made correctly
mock_post.assert_called_once_with(
"http://test-crs:8080/v1/task/",
json=sample_task.dict(),
json=sample_task.model_dump(),
auth=("test_user", "test_pass"),
headers={"Content-Type": "application/json"},
timeout=30,
@@ -82,7 +82,7 @@ class TestCRSClient:
# Verify request was made without auth
mock_post.assert_called_once_with(
"http://test-crs:8080/v1/task/",
json=sample_task.dict(),
json=sample_task.model_dump(),
auth=None,
headers={"Content-Type": "application/json"},
timeout=30,