Skip to content

Commit 219fc3d

Browse files
committed
Merge branch 'develop' into stormpath-325
2 parents 3addd1c + 8c0820f commit 219fc3d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎tests/live/test_custom_data.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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

352357
class TestTenantCustomData(SingleApplicationBase):
353358

0 commit comments

Comments
 (0)