Skip to content

Commit

Permalink
chore: remove commented code
Browse files Browse the repository at this point in the history
Signed-off-by: Alessio Pragliola <[email protected]>
  • Loading branch information
Al-Pragliola committed Jan 20, 2025
1 parent ec1246a commit 1bc67e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clients/python/tests/regression_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1bc67e4

Please sign in to comment.