@@ -35,9 +35,9 @@ def test_single_report(self):
3535 self .assertEqual (1 , len (finding1 .unsaved_vulnerability_ids ))
3636 self .assertEqual ("CVE-2025-9232" , finding1 .unsaved_vulnerability_ids [0 ])
3737 self .assertEqual ("CVE-2025-9232" , finding1 .vuln_id_from_tool )
38- self .assertIn ("vulnerability scan" , finding1 .tags )
39- self .assertIn ("image-scanner" , finding1 .tags )
40- self .assertIn ("Deployment" , finding1 .tags )
38+ self .assertIn ("vulnerability scan" , finding1 .unsaved_tags )
39+ self .assertIn ("image-scanner" , finding1 .unsaved_tags )
40+ self .assertIn ("Deployment" , finding1 .unsaved_tags )
4141
4242 # Test second finding (fail/high severity)
4343 finding2 = findings [1 ]
@@ -70,9 +70,9 @@ def test_single_report(self):
7070 # Non-CVE policies should not have vulnerability IDs
7171 self .assertIsNone (finding3 .unsaved_vulnerability_ids )
7272 self .assertEqual ("CIS-BENCH-001" , finding3 .vuln_id_from_tool )
73- self .assertIn ("compliance check" , finding3 .tags )
74- self .assertIn ("compliance-scanner" , finding3 .tags )
75- self .assertIn ("Deployment" , finding3 .tags )
73+ self .assertIn ("compliance check" , finding3 .unsaved_tags )
74+ self .assertIn ("compliance-scanner" , finding3 .unsaved_tags )
75+ self .assertIn ("Deployment" , finding3 .unsaved_tags )
7676
7777 def test_list_format (self ):
7878 with sample_path ("openreports_list_format.json" ).open (encoding = "utf-8" ) as test_file :
0 commit comments