@@ -30,7 +30,7 @@ def test_is_empty_():
3030 assert not is_empty (Detections (urls = ['Foo' ]))
3131
3232
33- def test_scan_plugin_filter_cluesfor_rule ():
33+ def test_scan_plugin_filter_clues_for_rule ():
3434 # this test fies is a copy of apache-1.1_63.RULE that contains
3535 # several emails, authors, urls and copyrights
3636 # it has been modified to include more unrelated clues
@@ -39,7 +39,7 @@ def test_scan_plugin_filter_cluesfor_rule():
3939 args = ['-clieu' , '--filter-clues' , test_dir , '--json' , result_file ]
4040 run_scan_click (args )
4141 expected = test_env .get_test_loc ('plugin_filter_clues/filtered-expected.json' )
42- check_json_scan (expected , result_file , regen = False )
42+ check_json_scan (expected , result_file , remove_file_date = True , ignore_headers = True , regen = False )
4343
4444
4545def test_scan_plugin_filter_clues_does_not_filter_incorrectly ():
@@ -51,7 +51,7 @@ def test_scan_plugin_filter_clues_does_not_filter_incorrectly():
5151 args = ['-clieu' , '--filter-clues' , test_dir , '--json' , result_file ]
5252 run_scan_click (args )
5353 expected = test_env .get_test_loc ('plugin_filter_clues/filtered-expected2.json' )
54- check_json_scan (expected , result_file , regen = False )
54+ check_json_scan (expected , result_file , remove_file_date = True , ignore_headers = True , regen = False )
5555
5656
5757def test_scan_plugin_filter_clues_for_license ():
@@ -62,4 +62,4 @@ def test_scan_plugin_filter_clues_for_license():
6262 args = ['-clieu' , '--filter-clues' , test_dir , '--json' , result_file ]
6363 run_scan_click (args )
6464 expected = test_env .get_test_loc ('plugin_filter_clues/filtered-expected3.json' )
65- check_json_scan (expected , result_file , regen = False )
65+ check_json_scan (expected , result_file , remove_file_date = True , ignore_headers = True , regen = False )
0 commit comments