We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 749e168 commit 84a711bCopy full SHA for 84a711b
tests/unit/sagemaker/jumpstart/test_utils.py
@@ -1291,6 +1291,11 @@ def test_validate_model_id_and_get_type_invalid(
1291
model_type=JumpStartModelType.OPEN_WEIGHTS,
1292
)
1293
1294
+ with pytest.raises(ValueError):
1295
+ utils.validate_model_id_and_get_type(
1296
+ "ai21-summarization", script=JumpStartScriptScope.TRAINING
1297
+ )
1298
+
1299
1300
class TestGetModelIdVersionFromResourceArn(TestCase):
1301
def test_no_model_id_no_version_found(self):
0 commit comments