diff --git a/test/test_source_epss.py b/test/test_source_epss.py index 5f32a26846..0caae28b7d 100644 --- a/test/test_source_epss.py +++ b/test/test_source_epss.py @@ -23,15 +23,12 @@ def setup_class(cls): ] def test_parse_epss(self): - # EPSS need metrics table to populated in the database. To get the EPSS metric id from table. + # EPSS need metrics table to populated in the database. EPSS metric id is a constant. cvedb = CVEDB() # creating table cvedb.init_database() # populating metrics cvedb.populate_metrics() - cursor = cvedb.db_open_and_get_cursor() - # seting EPSS_metric_id - self.epss.EPSS_id_finder(cursor) # parsing the data self.epss_data = self.epss.parse_epss_data(self.epss.file_name) cvedb.db_close()