@@ -268,38 +268,25 @@ def test_find_key_value_none(self, parser, complex_json):
268268
269269 def test_find_keys (self , parser , complex_json ):
270270
271- result = parser .find_keys (
272- complex_json ,
273- ['start' , 'end' ]
274- )
271+ result = parser .find_keys (complex_json , ['start' , 'end' ])
275272
276273 assert result == [[5 , 8 ], [22 , 99 ], [1 , 9 ], [4 , 7 ]]
277274
278275 def test_find_keys_no_group (self , parser , complex_json ):
279276
280- result = parser .find_keys (
281- complex_json ,
282- ['start' , 'end' ],
283- group = False
284- )
277+ result = parser .find_keys (complex_json , ['start' , 'end' ], group = False )
285278
286279 assert result == [5 , 8 , 22 , 99 , 1 , 9 , 4 , 7 ]
287280
288281 def test_find_keys_not_found (self , parser , complex_json ):
289282
290- result = parser .find_keys (
291- complex_json ,
292- ['key_does_not_exist' , 'neither_does_this_one' ]
293- )
283+ result = parser .find_keys (complex_json , ['key_does_not_exist' , 'neither_does_this_one' ])
294284
295285 assert result == []
296286
297287 def test_find_keys_one_not_found (self , parser , complex_json ):
298288
299- result = parser .find_keys (
300- complex_json ,
301- ['exists' , 'key_does_not_exist' , 'ppu' ]
302- )
289+ result = parser .find_keys (complex_json , ['exists' , 'key_does_not_exist' , 'ppu' ])
303290
304291 assert result == [[True , 0.55 ], [False , 42 ], [None , 7 ]]
305292
0 commit comments