From 1bc67e4fc874a7fc485a7edd89b8b0fa61370b01 Mon Sep 17 00:00:00 2001 From: Alessio Pragliola Date: Mon, 20 Jan 2025 19:06:42 +0100 Subject: [PATCH] chore: remove commented code Signed-off-by: Alessio Pragliola --- clients/python/tests/regression_test.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clients/python/tests/regression_test.py b/clients/python/tests/regression_test.py index 84008a58..4645833e 100644 --- a/clients/python/tests/regression_test.py +++ b/clients/python/tests/regression_test.py @@ -124,8 +124,7 @@ async def test_patch_model_artifacts_artifact_type(client: ModelRegistry): assert ma assert ma.id - # payload = { "modelFormatName": "foo", "artifactType": "model-artifact" } - payload = { "modelFormatName": "foo"} + payload = { "modelFormatName": "foo", "artifactType": "model-artifact" } from .conftest import REGISTRY_HOST, REGISTRY_PORT response = requests.patch(url=f"{REGISTRY_HOST}:{REGISTRY_PORT}/api/model_registry/v1alpha3/artifacts/{ma.id}", json=payload, timeout=10, headers={"Content-Type": "application/json"}) assert response.status_code == 200