@@ -252,25 +252,22 @@ def test_check_lint_json(attributes, expected, tmp_path):
252252@pytest .mark .parametrize (
253253 "attributes,expected" ,
254254 [
255- (
256- ["errors" , "generated_at" , "metrics" , "results" ],
257- ""
258- ),
255+ (["errors" , "generated_at" , "metrics" , "results" ], "" ),
259256 (
260257 ["generated_at" , "metrics" , "results" ],
261- "Invalid format, the file is missing the following attributes {'errors'}"
258+ "Invalid format, the file is missing the following attributes {'errors'}" ,
262259 ),
263260 (
264261 ["errors" , "metrics" , "results" ],
265- "Invalid format, the file is missing the following attributes {'generated_at'}"
262+ "Invalid format, the file is missing the following attributes {'generated_at'}" ,
266263 ),
267264 (
268265 ["errors" , "generated_at" , "results" ],
269- "Invalid format, the file is missing the following attributes {'metrics'}"
266+ "Invalid format, the file is missing the following attributes {'metrics'}" ,
270267 ),
271268 (
272269 ["errors" , "generated_at" , "metrics" ],
273- "Invalid format, the file is missing the following attributes {'results'}"
270+ "Invalid format, the file is missing the following attributes {'results'}" ,
274271 ),
275272 ],
276273)
@@ -289,20 +286,18 @@ def test_check_security_json(attributes, expected, tmp_path):
289286@pytest .mark .parametrize (
290287 "tables, expected" ,
291288 [
292- (
293- ["coverage_schema" , "meta" , "file" , "line_bits" ], ""
294- ),
289+ (["coverage_schema" , "meta" , "file" , "line_bits" ], "" ),
295290 (
296291 ["meta" , "file" , "line_bits" ],
297- "Invalid database, the database is missing the following tables {'coverage_schema'}"
292+ "Invalid database, the database is missing the following tables {'coverage_schema'}" ,
298293 ),
299294 (
300295 ["coverage_schema" , "file" , "line_bits" ],
301- "Invalid database, the database is missing the following tables {'meta'}"
296+ "Invalid database, the database is missing the following tables {'meta'}" ,
302297 ),
303298 (
304299 ["coverage_schema" , "meta" , "line_bits" ],
305- "Invalid database, the database is missing the following tables {'file'}"
300+ "Invalid database, the database is missing the following tables {'file'}" ,
306301 ),
307302 (
308303 [
0 commit comments