@@ -28,7 +28,7 @@ def test_jumpstart_script_uri(patched_get_model_specs):
2828 patched_get_model_specs .side_effect = get_spec_from_base_spec
2929 uri = script_uris .retrieve (
3030 region = "us-west-2" ,
31- model_scope = "inference" ,
31+ script_scope = "inference" ,
3232 model_id = "pytorch-ic-mobilenet-v2" ,
3333 model_version = "*" ,
3434 )
@@ -42,7 +42,7 @@ def test_jumpstart_script_uri(patched_get_model_specs):
4242
4343 uri = script_uris .retrieve (
4444 region = "us-west-2" ,
45- model_scope = "training" ,
45+ script_scope = "training" ,
4646 model_id = "pytorch-ic-mobilenet-v2" ,
4747 model_version = "*" ,
4848 )
@@ -54,7 +54,7 @@ def test_jumpstart_script_uri(patched_get_model_specs):
5454 patched_get_model_specs .reset_mock ()
5555
5656 script_uris .retrieve (
57- model_scope = "training" ,
57+ script_scope = "training" ,
5858 model_id = "pytorch-ic-mobilenet-v2" ,
5959 model_version = "*" ,
6060 )
@@ -65,15 +65,15 @@ def test_jumpstart_script_uri(patched_get_model_specs):
6565 with pytest .raises (ValueError ):
6666 script_uris .retrieve (
6767 region = "us-west-2" ,
68- model_scope = "BAD_SCOPE" ,
68+ script_scope = "BAD_SCOPE" ,
6969 model_id = "pytorch-ic-mobilenet-v2" ,
7070 model_version = "*" ,
7171 )
7272
7373 with pytest .raises (ValueError ):
7474 script_uris .retrieve (
7575 region = "mars-south-1" ,
76- model_scope = "training" ,
76+ script_scope = "training" ,
7777 model_id = "pytorch-ic-mobilenet-v2" ,
7878 model_version = "*" ,
7979 )
@@ -86,12 +86,12 @@ def test_jumpstart_script_uri(patched_get_model_specs):
8686
8787 with pytest .raises (ValueError ):
8888 script_uris .retrieve (
89- model_scope = "training" ,
89+ script_scope = "training" ,
9090 model_version = "*" ,
9191 )
9292
9393 with pytest .raises (ValueError ):
9494 script_uris .retrieve (
95- model_scope = "training" ,
95+ script_scope = "training" ,
9696 model_id = "pytorch-ic-mobilenet-v2" ,
9797 )
0 commit comments