@@ -96,10 +96,10 @@ def test_init_options_with_namespace(self):
9696 AssignPermissionSetToPermissionSetGroup ,
9797 {
9898 "assignments" : {"PSG1" : ["PS1" ]},
99- "namespace " : "test_namespace" ,
99+ "namespace_inject " : "test_namespace" ,
100100 },
101101 )
102- assert task .parsed_options .namespace == "test_namespace"
102+ assert task .parsed_options .namespace_inject == "test_namespace"
103103
104104 def test_init_options_without_namespace (self ):
105105 """Test _init_options without namespace (uses project config)"""
@@ -109,7 +109,7 @@ def test_init_options_without_namespace(self):
109109 )
110110 task .project_config .project__package__namespace = "project_namespace"
111111 task ._init_options ({})
112- assert task .parsed_options .namespace == "project_namespace"
112+ assert task .parsed_options .namespace_inject == "project_namespace"
113113
114114 def test_init_options_with_managed (self ):
115115 """Test _init_options with managed flag"""
@@ -141,7 +141,7 @@ def test_init_options_namespaced_org(self):
141141 AssignPermissionSetToPermissionSetGroup ,
142142 {
143143 "assignments" : {"PSG1" : ["PS1" ]},
144- "namespace " : "test_namespace" ,
144+ "namespace_inject " : "test_namespace" ,
145145 },
146146 )
147147 task .org_config .namespace = "test_namespace"
@@ -154,7 +154,7 @@ def test_init_options_non_namespaced_org(self):
154154 AssignPermissionSetToPermissionSetGroup ,
155155 {
156156 "assignments" : {"PSG1" : ["PS1" ]},
157- "namespace " : "test_namespace" ,
157+ "namespace_inject " : "test_namespace" ,
158158 },
159159 )
160160 task .org_config .namespace = "different_namespace"
@@ -430,7 +430,7 @@ def test_get_permission_set_group_ids_with_namespace(self):
430430 """Test _get_permission_set_group_ids with namespace"""
431431 task = create_task (
432432 AssignPermissionSetToPermissionSetGroup ,
433- {"assignments" : {"NS__PSG1" : ["PS1" ]}, "namespace " : "NS" },
433+ {"assignments" : {"NS__PSG1" : ["PS1" ]}, "namespace_inject " : "NS" },
434434 )
435435 task ._init_options ({})
436436 task ._init_task ()
@@ -547,7 +547,7 @@ def test_get_permission_set_ids_with_namespace(self):
547547 """Test _get_permission_set_ids with namespace"""
548548 task = create_task (
549549 AssignPermissionSetToPermissionSetGroup ,
550- {"assignments" : {"PSG1" : ["NS__PS1" ]}, "namespace " : "NS" },
550+ {"assignments" : {"PSG1" : ["NS__PS1" ]}, "namespace_inject " : "NS" },
551551 )
552552 task ._init_options ({})
553553 task ._init_task ()
@@ -596,7 +596,7 @@ def test_process_namespaces(self):
596596 ):
597597 task = create_task (
598598 AssignPermissionSetToPermissionSetGroup ,
599- {"assignments" : {"PSG1" : ["PS1" ]}, "namespace " : "NS" },
599+ {"assignments" : {"PSG1" : ["PS1" ]}, "namespace_inject " : "NS" },
600600 )
601601 task ._init_options ({})
602602 result = task ._process_namespaces (["PS1" ])
@@ -618,7 +618,7 @@ def test_build_name_conditions_with_namespace(self):
618618 """Test _build_name_conditions with namespace"""
619619 task = create_task (
620620 AssignPermissionSetToPermissionSetGroup ,
621- {"assignments" : {"PSG1" : ["NS__PS1" ]}, "namespace " : "NS" },
621+ {"assignments" : {"PSG1" : ["NS__PS1" ]}, "namespace_inject " : "NS" },
622622 )
623623 task ._init_options ({})
624624 conditions , mapping = task ._build_name_conditions (["NS__PS1" ])
0 commit comments