@@ -27,19 +27,19 @@ def test_scan_only_findings(self):
2727 result_file = self .get_temp_file ('json' )
2828 expected_file = self .get_test_loc ('plugin_only_findings/basic.expected.json' )
2929 run_scan_click (['-clip' , '--only-findings' , '--json' , result_file , test_dir ])
30- check_json_scan (expected_file , result_file , remove_file_date = True , regen = False )
30+ check_json_scan (expected_file , result_file , remove_file_date = True , regen = False , ignore_headers = True )
3131
3232 def test_scan_only_findings_with_errors (self ):
3333 test_file = self .get_test_loc ('plugin_only_findings/errors.json' )
3434 result_file = self .get_temp_file ('json' )
3535 expected_file = self .get_test_loc ('plugin_only_findings/errors.expected.json' )
3636 run_scan_click (['--from-json' , test_file , '--only-findings' ,
3737 '--json-pp' , result_file ])
38- check_json_scan (expected_file , result_file , remove_file_date = True , regen = False )
38+ check_json_scan (expected_file , result_file , remove_file_date = True , regen = False , ignore_headers = True )
3939
4040 def test_scan_only_findings_with_only_info (self ):
4141 test_dir = self .extract_test_tar ('plugin_only_findings/basic.tgz' )
4242 result_file = self .get_temp_file ('json' )
4343 expected_file = self .get_test_loc ('plugin_only_findings/info.expected.json' )
4444 run_scan_click (['--info' , '--only-findings' , '--json' , result_file , test_dir ])
45- check_json_scan (expected_file , result_file , remove_file_date = True , regen = False )
45+ check_json_scan (expected_file , result_file , remove_file_date = True , regen = False , ignore_headers = True )
0 commit comments