Skip to content

Commit f672d7d

Browse files
committed
add comment to Robot
Signed-off-by: Matteo Mortari <[email protected]>
1 parent 4779b47 commit f672d7d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/robot/Regression.robot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ Regression tests for Model Registry
1010

1111
*** Test Cases ***
1212
As a MLOps engineer if I try to store a malformed RegisteredModel I get a structured error message
13+
# MIGRATED to test_as_mlops_engineer_i_would_like_to_store_a_malformed_registered_model_i_get_a_structured_error_message in pytest
1314
${rm} Create Dictionary name="model" ext_id=123
1415
${err} POST url=http://${MR_HOST}:${MR_PORT}/api/model_registry/v1alpha3/registered_models json=&{rm} expected_status=400
1516
${rm_err} Create Dictionary code=Bad Request message=json: unknown field "ext_id"
1617
And Should be equal ${rm_err} ${err.json()}
1718

1819
As a MLOps engineer if I try to store a malformed ModelVersion I get a structured error message
20+
# MIGRATED to test_as_mlops_engineer_i_would_like_to_store_a_malformed_model_version_i_get_a_structured_error_message in pytest
1921
${rId} Given I create a RegisteredModel having name=${name}
2022
${mv} Create Dictionary registeredModelId=${rId}
2123
${err} POST url=http://${MR_HOST}:${MR_PORT}/api/model_registry/v1alpha3/model_versions json=&{mv} expected_status=422

0 commit comments

Comments
 (0)