From cec951956dc74a54dd0e9a1bc10a9a3a23f684d9 Mon Sep 17 00:00:00 2001 From: Matteo Mortari Date: Mon, 4 Nov 2024 12:47:52 +0100 Subject: [PATCH] linting Signed-off-by: Matteo Mortari --- clients/python/tests/test_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/python/tests/test_client.py b/clients/python/tests/test_client.py index 88fd3e0e..c4f583c7 100644 --- a/clients/python/tests/test_client.py +++ b/clients/python/tests/test_client.py @@ -188,7 +188,7 @@ async def test_patch_mm(client: ModelRegistry): payload = { "modelFormatName": "foo" } from .conftest import REGISTRY_HOST, REGISTRY_PORT - response = requests.patch(url=f"{REGISTRY_HOST}:{REGISTRY_PORT}/api/model_registry/v1alpha3/model_artifacts/{ma.id}", json=payload, headers={"Content-Type": "application/json"}) + response = requests.patch(url=f"{REGISTRY_HOST}:{REGISTRY_PORT}/api/model_registry/v1alpha3/model_artifacts/{ma.id}", json=payload, timeout=10, headers={"Content-Type": "application/json"}) assert response.status_code == 200 ma = client.get_model_artifact(name, version) assert ma