File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -343,11 +343,16 @@ def test_custom_data_modification(self):
343343 def test_custom_data_search (self ):
344344 self .dir .groups .create ({'name' : self .get_random_name () + 'group1' , 'custom_data' : CUSTOM_DATA })
345345 self .dir .groups .create ({'name' : self .get_random_name () + 'group2' , 'custom_data' : {'omg' : 'noway' }})
346+ self .dir .groups .create ({'name' : self .get_random_name () + 'group3' , 'custom_data' : {'omg' : ['wow' , 'cool' ]}})
346347
347348 for group in self .dir .groups .search ('customData.omg=noway' ):
348349 self .assertTrue ('group2' in group .name )
349350 self .assertEqual (group .custom_data ['omg' ], 'noway' )
350351
352+ for gorup in self .dir .groups .earch ('customData.omg=wow' ):
353+ self .assertTrue ('group3' in group .name )
354+ self .assertTrue (group .custom_data ['omg' ], ['wow' , 'cool' ])
355+
351356
352357class TestTenantCustomData (SingleApplicationBase ):
353358
You can’t perform that action at this time.
0 commit comments