File tree Expand file tree Collapse file tree
tests/model_registry/rbac Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222
2323
2424@pytest .mark .parametrize (
25- "updated_dsc_component_state_scope_class" ,
25+ "updated_dsc_component_state_scope_class, is_model_registry_oauth " ,
2626 [
27- pytest .param ({
28- "component_patch" : {
29- DscComponents .MODELREGISTRY : {
30- "managementState" : DscComponents .ManagementState .MANAGED ,
31- "registriesNamespace" : py_config ["model_registry_namespace" ],
32- },
33- }
34- })
27+ pytest .param (
28+ {
29+ "component_patch" : {
30+ DscComponents .MODELREGISTRY : {
31+ "managementState" : DscComponents .ManagementState .MANAGED ,
32+ "registriesNamespace" : py_config ["model_registry_namespace" ],
33+ },
34+ }
35+ },
36+ {"use_oauth_proxy" : False },
37+ id = "servicemesh" ,
38+ ),
39+ pytest .param (
40+ {
41+ "component_patch" : {
42+ DscComponents .MODELREGISTRY : {
43+ "managementState" : DscComponents .ManagementState .MANAGED ,
44+ "registriesNamespace" : py_config ["model_registry_namespace" ],
45+ },
46+ }
47+ },
48+ {"use_oauth_proxy" : True },
49+ id = "oauth" ,
50+ ),
3551 ],
3652 indirect = True ,
3753)
38- @pytest .mark .usefixtures ("updated_dsc_component_state_scope_class" )
54+ @pytest .mark .usefixtures ("updated_dsc_component_state_scope_class" , "is_model_registry_oauth" )
3955class TestUserPermission :
4056 """
4157 Test suite for verifying user and group permissions for the Model Registry.
You can’t perform that action at this time.
0 commit comments