@@ -170,7 +170,7 @@ def test_filter_policy():
170170 (
171171 'exact string filter on an array' ,
172172 {'filter' : 'soccer' },
173- {'filter' : {'Type' : 'String.Array' , 'Value' : '[ \ ' soccer\ ' , \ ' rugby\ ' , \ ' hockey\' ]' }},
173+ {'filter' : {'Type' : 'String.Array' , 'Value' : "[ 'soccer', 'rugby', 'hockey']" }},
174174 True
175175 ),
176176 (
@@ -200,7 +200,7 @@ def test_filter_policy():
200200 (
201201 'or string filter match with an array' ,
202202 {'filter' : ['soccer' , 'basketball' ]},
203- {'filter' : {'Type' : 'String.Array' , 'Value' : '[ \ ' soccer\ ' , \ ' rugby\ ' , \ ' hockey\' ]' }},
203+ {'filter' : {'Type' : 'String.Array' , 'Value' : "[ 'soccer', 'rugby', 'hockey']" }},
204204 True
205205 ),
206206 (
@@ -218,7 +218,7 @@ def test_filter_policy():
218218 (
219219 'or string filter no match with an array' ,
220220 {'filter' : ['volleyball' , 'basketball' ]},
221- {'filter' : {'Type' : 'String.Array' , 'Value' : '[ \ ' soccer\ ' , \ ' rugby\ ' , \ ' hockey\' ]' }},
221+ {'filter' : {'Type' : 'String.Array' , 'Value' : "[ 'soccer', 'rugby', 'hockey']" }},
222222 False
223223 ),
224224 (
@@ -242,7 +242,7 @@ def test_filter_policy():
242242 (
243243 'prefix string filter match with an array' ,
244244 {'filter' : [{'prefix' : 'soc' }]},
245- {'filter' : {'Type' : 'String.Array' , 'Value' : '[ \ ' soccer\ ' , \ ' rugby\ ' , \ ' hockey\' ]' }},
245+ {'filter' : {'Type' : 'String.Array' , 'Value' : "[ 'soccer', 'rugby', 'hockey']" }},
246246 True
247247 ),
248248 (
@@ -332,7 +332,7 @@ def test_filter_policy():
332332 (
333333 'logical OR with match on an array' ,
334334 {'filter' : ['test1' , 'test2' , {'prefix' : 'typ' }]},
335- {'filter' : {'Type' : 'String.Array' , 'Value' : '[ \ ' test1\ ' , \ ' other\' ]' }},
335+ {'filter' : {'Type' : 'String.Array' , 'Value' : "[ 'test1', 'other']" }},
336336 True
337337 ),
338338 (
@@ -344,7 +344,7 @@ def test_filter_policy():
344344 (
345345 'logical OR no match on an array' ,
346346 {'filter' : ['test1' , 'test2' , {'prefix' : 'typ' }]},
347- {'filter' : {'Type' : 'String.Array' , 'Value' : '[ \ ' anything\ ' , \ ' something\' ]' }},
347+ {'filter' : {'Type' : 'String.Array' , 'Value' : "[ 'anything', 'something']" }},
348348 False
349349 ),
350350 (
@@ -422,7 +422,7 @@ def test_filter_policy():
422422 (
423423 'multiple conditions on an array' ,
424424 {'filter' : ['test1' , 'test2' , {'prefix' : 'som' }]},
425- {'filter' : {'Type' : 'String.Array' , 'Value' : '[ \ ' anything\ ' , \ ' something\' ]' }},
425+ {'filter' : {'Type' : 'String.Array' , 'Value' : "[ 'anything', 'something']" }},
426426 True
427427 )
428428 ]
0 commit comments